Avoid potential negative array index access to cached text.
[LibreOffice.git] / external / firebird / Wincompatible-function-pointer-types.patch
blobd5482bdcf2c20b640f73d957b8fba9d39447ffcd
1 --- extern/cloop/src/tests/test1/CTest.c
2 +++ extern/cloop/src/tests/test1/CTest.c
3 @@ -402,7 +402,7 @@
4 struct CALC_IFactory* (*createFactory)();
6 #ifdef WIN32
7 - createFactory = (struct Factory* (*)()) GetProcAddress(library, "createFactory");
8 + createFactory = (struct CALC_IFactory* (*)()) GetProcAddress(library, "createFactory");
9 #else
10 createFactory = dlsym(library, "createFactory");
11 #endif