comparison 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
comparison
equal deleted inserted replaced
4157:86e99e08ba52 4158:32ac045109a6
1032 const Arguments& headers, 1032 const Arguments& headers,
1033 const GetArguments& getArguments, 1033 const GetArguments& getArguments,
1034 const void* bodyData, 1034 const void* bodyData,
1035 size_t bodySize) 1035 size_t bodySize)
1036 { 1036 {
1037 printf("received %lu\n", bodySize); 1037 printf("received %d\n", static_cast<int>(bodySize));
1038 1038
1039 const uint8_t* b = reinterpret_cast<const uint8_t*>(bodyData); 1039 const uint8_t* b = reinterpret_cast<const uint8_t*>(bodyData);
1040 1040
1041 for (size_t i = 0; i < bodySize; i++) 1041 for (size_t i = 0; i < bodySize; i++)
1042 { 1042 {