...after Clang 16 trunk <https://github.com/llvm/llvm-project/commit/af01f717c48f0fd2481600ed6c00441763365b62> "Default implicit function pointer conversions diagnostic to be an error" Change-Id: Ibe06a94f45010efdeaf0c05a661f269e7a07d561 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140095 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
12 lines
402 B
Diff
Executable File
12 lines
402 B
Diff
Executable File
--- extern/cloop/src/tests/test1/CTest.c
|
|
+++ extern/cloop/src/tests/test1/CTest.c
|
|
@@ -402,7 +402,7 @@
|
|
struct CALC_IFactory* (*createFactory)();
|
|
|
|
#ifdef WIN32
|
|
- createFactory = (struct Factory* (*)()) GetProcAddress(library, "createFactory");
|
|
+ createFactory = (struct CALC_IFactory* (*)()) GetProcAddress(library, "createFactory");
|
|
#else
|
|
createFactory = dlsym(library, "createFactory");
|
|
#endif
|