changeset 2418:abc275c0a44d

fix msvc 2008
author jodogne
date Thu, 05 Oct 2017 17:17:59 +0200
parents a386c1140aab
children 481cbda54e21
files UnitTestsSources/DicomMapTests.cpp
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/DicomMapTests.cpp	Wed Oct 04 15:57:59 2017 +0200
+++ b/UnitTestsSources/DicomMapTests.cpp	Thu Oct 05 17:17:59 2017 +0200
@@ -267,7 +267,7 @@
   ASSERT_EQ(2147483647, i);
   ASSERT_EQ(2147483647ll, j);
   ASSERT_EQ(2147483647u, k);
-  ASSERT_EQ(2147483647llu, l);
+  ASSERT_EQ(2147483647ull, l);
 
   // Test shortcuts
   m.SetValue(DICOM_TAG_PATIENT_NAME, "42", false);
@@ -282,7 +282,7 @@
   ASSERT_EQ(42, i);
   ASSERT_EQ(42ll, j);
   ASSERT_EQ(42u, k);
-  ASSERT_EQ(42llu, l);
+  ASSERT_EQ(42ull, l);
 
   ASSERT_TRUE(m.CopyToString(s, DICOM_TAG_PATIENT_NAME, false));
   ASSERT_EQ("42", s);
@@ -302,7 +302,7 @@
   ASSERT_DOUBLE_EQ(2147483648.0, d);
   ASSERT_EQ(2147483648ll, j);
   ASSERT_EQ(2147483648u, k);
-  ASSERT_EQ(2147483648llu, l);
+  ASSERT_EQ(2147483648ull, l);
 
   // 2**32-1
   m.SetValue(DICOM_TAG_PATIENT_NAME, "4294967295", false);
@@ -316,7 +316,7 @@
   ASSERT_DOUBLE_EQ(4294967295.0, d);
   ASSERT_EQ(4294967295ll, j);
   ASSERT_EQ(4294967295u, k);
-  ASSERT_EQ(4294967295llu, l);
+  ASSERT_EQ(4294967295ull, l);
   
   // 2**32
   m.SetValue(DICOM_TAG_PATIENT_NAME, "4294967296", false);
@@ -329,7 +329,7 @@
   ASSERT_FLOAT_EQ(4294967296.0f, f);
   ASSERT_DOUBLE_EQ(4294967296.0, d);
   ASSERT_EQ(4294967296ll, j);
-  ASSERT_EQ(4294967296llu, l);
+  ASSERT_EQ(4294967296ull, l);
   
   m.SetValue(DICOM_TAG_PATIENT_NAME, "-1", false);
   ASSERT_TRUE(m.GetValue(DICOM_TAG_PATIENT_NAME).ParseFloat(f));