Skip to content

plug-ins: file-psp.c fix incompatible pointer type

lillolollo requested to merge (removed):patch-3 into gimp-2-10
file-psp.c:1765:25: warning: passing argument 2 of 'g_stat' from incompatible pointer type [-Wincompatible-pointer-types]
 1765 |   if (g_stat (filename, &st) == -1)
      |                         ^~~
      |                         |
      |                         struct _stati64 *
In file included from file-psp.c:44:
C:/msys32/mingw32/include/glib-2.0/glib/gstdio.h:137:31: note: expected 'GStatBuf *' {aka 'struct _stat32 *'} but argument is of type 'struct _stati64 *'
  137 |                  GStatBuf    *buf);

Merge request reports