diff OrthancFramework/UnitTestsSources/RestApiTests.cpp @ 4158:32ac045109a6

fix compiler warnings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sun, 23 Aug 2020 14:46:40 +0200
parents 86e99e08ba52
children 318c16cfccab
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Sun Aug 23 14:38:45 2020 +0200
+++ b/OrthancFramework/UnitTestsSources/RestApiTests.cpp	Sun Aug 23 14:46:40 2020 +0200
@@ -1034,7 +1034,7 @@
                         const void* bodyData,
                         size_t bodySize)
     {
-      printf("received %lu\n", bodySize);
+      printf("received %d\n", static_cast<int>(bodySize));
 
       const uint8_t* b = reinterpret_cast<const uint8_t*>(bodyData);