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

This commit is contained in:
lillolollo
2020-04-11 00:59:06 +00:00
committed by Jehan
parent 97549081fd
commit 2dd2ba1bfb

View File

@ -1751,16 +1751,15 @@ static gint32
load_image (const gchar *filename, load_image (const gchar *filename,
GError **error) GError **error)
{ {
FILE *f; FILE *f;
struct stat st; GStatBuf st;
char buf[32]; char buf[32];
PSPimage ia; PSPimage ia;
guint32 block_init_len, block_total_len; guint32 block_init_len, block_total_len;
long block_start; long block_start;
PSPBlockID id = -1; PSPBlockID id = -1;
gint block_number; gint block_number;
gint32 image_ID = -1;
gint32 image_ID = -1;
if (g_stat (filename, &st) == -1) if (g_stat (filename, &st) == -1)
return -1; return -1;