file-dicom.c:605:26: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'gint32' (aka 'int') [-Wint-conversion] return NULL; ^~~~ /usr/lib/llvm/15/bin/../../../../lib/clang/15.0.5/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ Reproducible: Always
Created attachment 843221 [details, diff] patch
*** This bug has been marked as a duplicate of bug 875413 ***
The patch is not OK. Instead return (gint32) NULL; use return -1;
(In reply to Daniel Novomeský from comment #3) > The patch is not OK. > Instead return (gint32) NULL; use > return -1; Daniel thank you for your offered patch for upstream. I saw all these issues and don't ignore it. I just can't reach my PC for careful retesting it :( I very hope to review all gimp related issues next week and report unresolved to upstream too.