summaryrefslogtreecommitdiffhomepage
path: root/sofort
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
commit923395c61468ae871d1eb09d889a9cf378d4092d (patch)
tree65bdb8afbcffe403e0636b0157527c21569d7525 /sofort
parent698a648b19afb8e6987c6674958190fe2afc4f0e (diff)
downloadmmglue-923395c61468ae871d1eb09d889a9cf378d4092d.tar.bz2
mmglue-923395c61468ae871d1eb09d889a9cf378d4092d.tar.xz
build system: cfgtest.sh: properly cast the probed interface's address.
Diffstat (limited to 'sofort')
-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