summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <daniel@octaforge.org>2020-08-09 21:00:46 +0200
committerDaniel Kolesa <daniel@octaforge.org>2020-08-09 21:00:46 +0200
commit92d3153fee9f915cf2bdbc92a7551e5a83985e81 (patch)
treeef4049e868060a6d5f56572c996b19cfd58ff767
parent7066b54364c77ec83fbecc2b5f42018771ed5ea1 (diff)
downloadimlib2-92d3153fee9f915cf2bdbc92a7551e5a83985e81.tar.gz
Fix big endian build
-rw-r--r--src/modules/loaders/loader_argb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/loaders/loader_argb.c b/src/modules/loaders/loader_argb.c
index ec58ca3..b915b7b 100644
--- a/src/modules/loaders/loader_argb.c
+++ b/src/modules/loaders/loader_argb.c
@@ -7,6 +7,9 @@ load2(ImlibImage * im, int load_data)
int w = 0, h = 0, alpha = 0;
DATA32 *ptr;
int y;
+#ifdef WORDS_BIGENDIAN
+ int l;
+#endif
rc = LOAD_FAIL;