https://bugs.gentoo.org/841973 See also: https://sourceforge.net/p/freeimage/mailman/message/37668470/ https://git.alpinelinux.org/aports/commit/?id=9b938a7b38ea4b8d9a73f1bf0d90ee45bbfa9139 diff --git a/Source/FreeImage/PluginPSD.cpp b/Source/FreeImage/PluginPSD.cpp index e5b5ffa..d9de81f 100644 --- a/Source/FreeImage/PluginPSD.cpp +++ b/Source/FreeImage/PluginPSD.cpp @@ -127,7 +127,7 @@ Load(FreeImageIO *io, fi_handle handle, int page, int flags, void *data) { static BOOL DLL_CALLCONV Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle, int page, int flags, void *data) { if(!handle) { - return NULL; + return FALSE; } try { psdParser parser; -- 2.35.1