diff options
author | midipix <writeonce@midipix.org> | 2024-04-03 03:29:32 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-04-03 03:47:18 +0000 |
commit | ccaec6d48de4b8d0c0d49de3f6f6d47dfa067af8 (patch) | |
tree | 4848421d8f18d6eb09242e07ee0e99859ea7f72d /sofort/cfgtest | |
parent | 89cd6fd49bd3e5185c28857bb88d81adfd1a0f38 (diff) | |
download | bfirm-ccaec6d48de4b8d0c0d49de3f6f6d47dfa067af8.tar.bz2 bfirm-ccaec6d48de4b8d0c0d49de3f6f6d47dfa067af8.tar.xz |
build system: cfgtest.sh: properly cast the probed interface's address.
Diffstat (limited to 'sofort/cfgtest')
-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 |