[gimp/gimp-2-10] plug-ins: file-psp.c fix incompatible pointer type
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: file-psp.c fix incompatible pointer type
- Date: Mon, 13 Apr 2020 13:21:57 +0000 (UTC)
commit 2dd2ba1bfbe159e3935e42db4606cd44238f99f9
Author: lillolollo <4179-lillolollo users noreply gitlab gnome org>
Date: Sat Apr 11 00:59:06 2020 +0000
plug-ins: file-psp.c fix incompatible pointer type
plug-ins/common/file-psp.c | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/plug-ins/common/file-psp.c b/plug-ins/common/file-psp.c
index 33c6a2b607..be7f962259 100644
--- a/plug-ins/common/file-psp.c
+++ b/plug-ins/common/file-psp.c
@@ -1751,16 +1751,15 @@ static gint32
load_image (const gchar *filename,
GError **error)
{
- FILE *f;
- struct stat st;
- char buf[32];
- PSPimage ia;
- guint32 block_init_len, block_total_len;
- long block_start;
+ 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;
-
- gint32 image_ID = -1;
+ gint block_number;
+ gint32 image_ID = -1;
if (g_stat (filename, &st) == -1)
return -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]