summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-04-03 03:29:32 +0000
committermidipix <writeonce@midipix.org>2024-04-03 03:47:19 +0000
commit2feb00e65660194a1fd420f579c97b816a5558df (patch)
tree98b0911735a97c586551fac4f9ab3e89d949e1dc
parentc56ec08c708ac4b1d1d8e6822d35a3815f23eb14 (diff)
downloadsbpython3-2feb00e65660194a1fd420f579c97b816a5558df.tar.bz2
sbpython3-2feb00e65660194a1fd420f579c97b816a5558df.tar.xz
build system: cfgtest.sh: properly cast the probed interface's address.
-rw-r--r--sofort/cfgtest/cfgtest.sh2
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