office-gobmx/external/firebird/Wincompatible-function-pointer-types.patch
Stephan Bergmann 3c967717d3 external/firebird: Fix -Wincompatible-function-pointer-types
...after Clang 16 trunk
<af01f717c4>
"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>
2022-09-17 13:27:08 +02:00

11 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