Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp Sun Aug 23 14:38:45 2020 +0200 +++ b/OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp Sun Aug 23 14:46:40 2020 +0200 @@ -2168,7 +2168,7 @@ a == DicomTransferSyntax_JPEGProcess2_4 || a == DicomTransferSyntax_JPEGLSLossy); - printf("SIZE: %lu\n", t.size()); + printf("SIZE: %d\n", static_cast<int>(t.size())); if (sourceUid == IDicomTranscoder::GetSopInstanceUid(target.GetParsed())) { ASSERT_FALSE(lossy);