aboutsummaryrefslogtreecommitdiff
path: root/src/nad_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nad_init.c')
-rw-r--r--src/nad_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nad_init.c b/src/nad_init.c
index 99342aa5..04177a44 100644
--- a/src/nad_init.c
+++ b/src/nad_init.c
@@ -38,8 +38,8 @@
/* Convert the byte order of the given word(s) in place. */
/************************************************************************/
-static int byte_order_test = 1;
-#define IS_LSB (((unsigned char *) (&byte_order_test))[0] == 1)
+static const int byte_order_test = 1;
+#define IS_LSB (((const unsigned char *) (&byte_order_test))[0] == 1)
static void swap_words( void *data_in, int word_size, int word_count )