diff UnitTestsSources/UnitTestsMain.cpp @ 1940:5514d37176b4

PatternUint16
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Mar 2016 11:08:07 +0100
parents d80a4fe8ffcc
children cc9901a98099
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp	Fri Mar 25 10:48:12 2016 +0100
+++ b/UnitTestsSources/UnitTestsMain.cpp	Fri Mar 25 11:08:07 2016 +0100
@@ -839,8 +839,8 @@
 
 TEST(Toolbox, EndiannessConversions64)
 {
-  const uint64_t v = 0xff01020304050607LLu;
-  const uint64_t r = 0x07060504030201ffLLu;
+  const uint64_t v = 0xff01020304050607LLU;
+  const uint64_t r = 0x07060504030201ffLLU;
   ASSERT_EQ64(v, be64toh(htobe64(v)));
   ASSERT_EQ64(v, le64toh(htole64(v)));
   ASSERT_NE64(v, be64toh(htole64(v)));