Commit b9426822 authored by lillolollo's avatar lillolollo Committed by Jehan

fix

```
../../gimp/plug-ins/common/file-psp.c: In function 'load_image':
../../gimp/plug-ins/common/file-psp.c:1930:25: warning: passing argument 2 of 'g_stat' from incompatible pointer type [-Wincompatible-pointer-types]
 1930 |   if (g_stat (filename, &st) == -1)
      |                         ^~~
      |                         |
      |                         struct stat *
In file included from ../../gimp/plug-ins/common/file-psp.c:44:
C:/msys64/mingw64/include/glib-2.0/glib/gstdio.h:134:31: note: expected 'GStatBuf *' {aka 'struct _stat64 *'} but argument is of type 'struct stat *'
  134 |                  GStatBuf    *buf);
      |                  ~~~~~~~~~~~~~^~~

```
parent 8e74a22c
Pipeline #115130 passed with stages
in 12 minutes and 8 seconds
......@@ -1913,15 +1913,15 @@ static GimpImage *
load_image (GFile *file,
GError **error)
{
gchar *filename;
FILE *f;
struct stat st;
char buf[32];
PSPimage ia;
guint32 block_init_len, block_total_len;
long block_start;
gchar *filename;
FILE *f;
GStatBuf st;
char buf[32];
PSPimage ia;
guint32 block_init_len, block_total_len;
long block_start;
PSPBlockID id = -1;
gint block_number;
gint block_number;
GimpImage *image = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment