Mercurial > hg > orthanc
diff OrthancFramework/Sources/Images/PamReader.cpp @ 4201:2d5209153b32
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 08:18:28 +0200 |
parents | bf7b9edf6b81 |
children | 9279de56a405 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Images/PamReader.cpp Wed Sep 16 20:53:31 2020 +0200 +++ b/OrthancFramework/Sources/Images/PamReader.cpp Thu Sep 17 08:18:28 2020 +0200 @@ -180,7 +180,7 @@ unsigned int bytesPerChannel; PixelFormat format; - GetPixelFormat(format, bytesPerChannel, maxValue, channelCount, tupleType.c_str()); + GetPixelFormat(format, bytesPerChannel, maxValue, channelCount, tupleType); unsigned int pitch = width * channelCount * bytesPerChannel;