comparison OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp @ 4158:32ac045109a6

fix compiler warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Aug 2020 14:46:40 +0200
parents bf7b9edf6b81
children 4d42408da117
comparison
equal deleted inserted replaced
4157:86e99e08ba52 4158:32ac045109a6
2166 ASSERT_EQ(targetSyntax, a); 2166 ASSERT_EQ(targetSyntax, a);
2167 bool lossy = (a == DicomTransferSyntax_JPEGProcess1 || 2167 bool lossy = (a == DicomTransferSyntax_JPEGProcess1 ||
2168 a == DicomTransferSyntax_JPEGProcess2_4 || 2168 a == DicomTransferSyntax_JPEGProcess2_4 ||
2169 a == DicomTransferSyntax_JPEGLSLossy); 2169 a == DicomTransferSyntax_JPEGLSLossy);
2170 2170
2171 printf("SIZE: %lu\n", t.size()); 2171 printf("SIZE: %d\n", static_cast<int>(t.size()));
2172 if (sourceUid == IDicomTranscoder::GetSopInstanceUid(target.GetParsed())) 2172 if (sourceUid == IDicomTranscoder::GetSopInstanceUid(target.GetParsed()))
2173 { 2173 {
2174 ASSERT_FALSE(lossy); 2174 ASSERT_FALSE(lossy);
2175 } 2175 }
2176 else 2176 else