Mercurial > hg > orthanc-wsi
diff Framework/Jpeg2000Reader.cpp @ 226:4eefa34657f0
fix build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Jan 2021 13:17:03 +0100 |
parents | 20bc074ec19a |
children | aff61c449308 |
line wrap: on
line diff
--- a/Framework/Jpeg2000Reader.cpp Wed Jan 13 10:33:37 2021 +0100 +++ b/Framework/Jpeg2000Reader.cpp Wed Jan 13 13:17:03 2021 +0100 @@ -329,9 +329,8 @@ const unsigned int width = target.GetWidth(); const unsigned int height = target.GetHeight(); - if (0 && // TODO - width == image_->comps[channel].w && - height == image_->comps[channel].h) + if (static_cast<int>(width) == image_->comps[channel].w && + static_cast<int>(height) == image_->comps[channel].h) { const int32_t* q = image_->comps[channel].data; assert(q != NULL);