aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2013-12-13 13:04:45 +0100
committerBert Münnich <ber.t@posteo.de>2013-12-13 13:04:45 +0100
commit99dfd14919f55742cbd311bd6032ce0f1dc361c5 (patch)
treec6d0b47777f671b367475a4ebc2b0bc16302641b /image.c
parent9ab9cee088dd9c506358bcde96a5b2cc6339af22 (diff)
downloadnsxiv-99dfd14919f55742cbd311bd6032ce0f1dc361c5.tar.zst
Fixed Imlib file handle type, issue #117
Diffstat (limited to 'image.c')
-rw-r--r--image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.c b/image.c
index ee49076..2d82f95 100644
--- a/image.c
+++ b/image.c
@@ -126,7 +126,7 @@ bool img_load_gif(img_t *img, const fileinfo_t *file)
ColorMapObject *cmap;
DATA32 bgpixel, *data, *ptr;
DATA32 *prev_frame = NULL;
- Imlib_Image *im;
+ Imlib_Image im;
int i, j, bg, r, g, b;
int x, y, w, h, sw, sh;
int px, py, pw, ph;