aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pj_gridinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pj_gridinfo.c b/src/pj_gridinfo.c
index e6b0e8f9..3d34dd7e 100644
--- a/src/pj_gridinfo.c
+++ b/src/pj_gridinfo.c
@@ -50,7 +50,7 @@
/************************************************************************/
static int byte_order_test = 1;
-#define IS_LSB (((unsigned char *) (&byte_order_test))[0] == 1)
+#define IS_LSB (1 == ((unsigned char *) (&byte_order_test))[0])
static void swap_words( unsigned char *data, int word_size, int word_count )