27 lines
710 B
Diff
27 lines
710 B
Diff
From 92d3153fee9f915cf2bdbc92a7551e5a83985e81 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Kolesa <daniel@octaforge.org>
|
|
Date: Sun, 9 Aug 2020 21:00:46 +0200
|
|
Subject: [PATCH] Fix big endian build
|
|
|
|
---
|
|
src/modules/loaders/loader_argb.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git src/modules/loaders/loader_argb.c src/modules/loaders/loader_argb.c
|
|
index ec58ca3..b915b7b 100644
|
|
--- src/modules/loaders/loader_argb.c
|
|
+++ 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;
|
|
|
|
--
|
|
2.28.0
|
|
|