changeset 1942:cc9901a98099

fix for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Mar 2016 11:28:52 +0100
parents d7b176f7dd1b
children bc949ea71fe6
files UnitTestsSources/UnitTestsMain.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp	Fri Mar 25 11:27:38 2016 +0100
+++ b/UnitTestsSources/UnitTestsMain.cpp	Fri Mar 25 11:28:52 2016 +0100
@@ -839,8 +839,8 @@
 
 TEST(Toolbox, EndiannessConversions64)
 {
-  const uint64_t v = 0xff01020304050607LLU;
-  const uint64_t r = 0x07060504030201ffLLU;
+  const uint64_t v = 0xff01020304050607LL;
+  const uint64_t r = 0x07060504030201ffLL;
   ASSERT_EQ64(v, be64toh(htobe64(v)));
   ASSERT_EQ64(v, le64toh(htole64(v)));
   ASSERT_NE64(v, be64toh(htole64(v)));