diff options
author | midipix <writeonce@midipix.org> | 2024-04-03 03:29:32 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-04-03 03:47:19 +0000 |
commit | f918588a16c2a1f13e0e93257c817812e2946b35 (patch) | |
tree | ff8673092b493820b0fa8bc114e965f1b582fef1 | |
parent | 82817d13018b4749011cf448a01907f6a1b4cc65 (diff) | |
download | mdso-f918588a16c2a1f13e0e93257c817812e2946b35.tar.bz2 mdso-f918588a16c2a1f13e0e93257c817812e2946b35.tar.xz |
build system: cfgtest.sh: properly cast the probed interface's address.
-rw-r--r-- | sofort/cfgtest/cfgtest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sofort/cfgtest/cfgtest.sh b/sofort/cfgtest/cfgtest.sh index 8e1db07..7bb27a0 100644 --- a/sofort/cfgtest/cfgtest.sh +++ b/sofort/cfgtest/cfgtest.sh @@ -423,7 +423,7 @@ cfgtest_interface_presence() # init cfgtest_prolog 'interface' "${1}" - cfgtest_code_snippet=$(printf 'void * addr = &%s;\n' "${1}") + cfgtest_code_snippet=$(printf 'void (*addr)() = (void (*)())&%s;\n' "${1}") cfgtest_common_init |