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 | bf57369b2ce86e9ce327e57a599c5dfcd02d8d06 (patch) | |
tree | 6a579dda7308b00e4d0e22241a33dfa57a00c3d0 /sofort/cfgtest/cfgtest.sh | |
parent | 042ee9444026184a5f4bc2d81c3cf5d19ed44047 (diff) | |
download | sbmake-bf57369b2ce86e9ce327e57a599c5dfcd02d8d06.tar.bz2 sbmake-bf57369b2ce86e9ce327e57a599c5dfcd02d8d06.tar.xz |
build system: cfgtest.sh: properly cast the probed interface's address.
Diffstat (limited to 'sofort/cfgtest/cfgtest.sh')
-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 |