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 | afaf4c20e3d73655766de7a6fea983493fb6057a (patch) | |
tree | 0791e9db2adadeacde676338df59386e69bb4614 /sofort | |
parent | 68c7a4676d723a4d0bc3024bd4aec9395dd597ce (diff) | |
download | u16ports-afaf4c20e3d73655766de7a6fea983493fb6057a.tar.bz2 u16ports-afaf4c20e3d73655766de7a6fea983493fb6057a.tar.xz |
build system: cfgtest.sh: properly cast the probed interface's address.
Diffstat (limited to 'sofort')
-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 |