aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_common_endian.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/test_common_endian.c')
-rw-r--r--src/util/test_common_endian.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/test_common_endian.c b/src/util/test_common_endian.c
index fb556c7f4..a709abec6 100644
--- a/src/util/test_common_endian.c
+++ b/src/util/test_common_endian.c
@@ -33,8 +33,8 @@ main (int argc, char *argv[])
33 CHECK (1); 33 CHECK (1);
34 CHECK (0x12345678); 34 CHECK (0x12345678);
35 CHECK (123456789012345LL); 35 CHECK (123456789012345LL);
36 if ((0x1234567890ABCDEFLL != 36 if ((0x1234567890ABCDEFLL != GNUNET_htonll (0xEFCDAB9078563412LL)) &&
37 GNUNET_htonll (0xEFCDAB9078563412LL)) && 42 != htonl (42)) 37 42 != htonl (42))
38 return 1; 38 return 1;
39 return 0; 39 return 0;
40} 40}