comparison OrthancStone/Sources/Toolbox/BucketAccumulator2D.cpp @ 1957:3f88c239043a

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 27 Oct 2022 12:06:04 +0200
parents bd527bbc34df
children 07964689cb0b
comparison
equal deleted inserted replaced
1956:1e5ba130f041 1957:3f88c239043a
193 { 193 {
194 fprintf(fp, "%7.2f: ", mapperY_.GetBucketCenter(y)); 194 fprintf(fp, "%7.2f: ", mapperY_.GetBucketCenter(y));
195 195
196 for (size_t x = 0; x < mapperX_.GetSize(); x++) 196 for (size_t x = 0; x < mapperX_.GetSize(); x++)
197 { 197 {
198 fprintf(fp, "%7ld ", GetBucketContentSize(x, y)); 198 fprintf(fp, "%7ld ", static_cast<long>(GetBucketContentSize(x, y)));
199 } 199 }
200 200
201 fprintf(fp, "\n"); 201 fprintf(fp, "\n");
202 } 202 }
203 } 203 }