diff options
Diffstat (limited to 'graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp')
-rw-r--r-- | graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp b/graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp index d4440b6d2cd4..306e8fce5cf0 100644 --- a/graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp +++ b/graphics/freeimage/files/patch-Source_FreeImage_PluginPSD.cpp @@ -1,3 +1,8 @@ +Source/FreeImage/PluginPSD.cpp:130:10: error: cannot initialize return object of type + 'BOOL' (aka 'int') with an rvalue of type 'nullptr_t' + return NULL; + ^~~~ + --- Source/FreeImage/PluginPSD.cpp.orig 2018-09-04 20:32:27 UTC +++ Source/FreeImage/PluginPSD.cpp @@ -127,7 +127,7 @@ Load(FreeImageIO *io, fi_handle handle, int page, int @@ -5,7 +10,7 @@ Save(FreeImageIO *io, FIBITMAP *dib, fi_handle handle, int page, int flags, void *data) { if(!handle) { - return NULL; -+ //return NULL; ++ return FALSE; } try { psdParser parser; |