changeset 5230:887df8c45838 db-protobuf

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Apr 2023 09:53:02 +0200
parents 365eb5ea5492
children 7363b6e7edf5
files OrthancFramework/UnitTestsSources/DicomMapTests.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/DicomMapTests.cpp	Tue Apr 04 09:46:40 2023 +0200
+++ b/OrthancFramework/UnitTestsSources/DicomMapTests.cpp	Tue Apr 04 09:53:02 2023 +0200
@@ -716,7 +716,7 @@
     DicomMap sequencesOnly;
     m.ExtractSequences(sequencesOnly);
 
-    ASSERT_EQ(1, sequencesOnly.GetSize());
+    ASSERT_EQ(1u, sequencesOnly.GetSize());
     ASSERT_TRUE(sequencesOnly.HasTag(0x0008, 0x1111));
     ASSERT_TRUE(sequencesOnly.GetValue(0x0008, 0x1111).GetSequenceContent()[0].isMember("0008,1150"));
 
@@ -724,7 +724,7 @@
     DicomMap sequencesCopy;
     sequencesCopy.SetValue(0x0008, 0x1111, sequencesOnly.GetValue(0x0008, 0x1111));
 
-    ASSERT_EQ(1, sequencesCopy.GetSize());
+    ASSERT_EQ(1u, sequencesCopy.GetSize());
     ASSERT_TRUE(sequencesCopy.HasTag(0x0008, 0x1111));
     ASSERT_TRUE(sequencesCopy.GetValue(0x0008, 0x1111).GetSequenceContent()[0].isMember("0008,1150"));
   }