From ccaec6d48de4b8d0c0d49de3f6f6d47dfa067af8 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 3 Apr 2024 03:29:32 +0000 Subject: build system: cfgtest.sh: properly cast the probed interface's address. --- sofort/cfgtest/cfgtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sofort/cfgtest') 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 -- cgit v1.2.3