Mercurial > hg > orthanc-wsi
comparison 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 |
comparison
equal
deleted
inserted
replaced
225:96d1774148e7 | 226:4eefa34657f0 |
---|---|
327 unsigned int targetIncrement) | 327 unsigned int targetIncrement) |
328 { | 328 { |
329 const unsigned int width = target.GetWidth(); | 329 const unsigned int width = target.GetWidth(); |
330 const unsigned int height = target.GetHeight(); | 330 const unsigned int height = target.GetHeight(); |
331 | 331 |
332 if (0 && // TODO | 332 if (static_cast<int>(width) == image_->comps[channel].w && |
333 width == image_->comps[channel].w && | 333 static_cast<int>(height) == image_->comps[channel].h) |
334 height == image_->comps[channel].h) | |
335 { | 334 { |
336 const int32_t* q = image_->comps[channel].data; | 335 const int32_t* q = image_->comps[channel].data; |
337 assert(q != NULL); | 336 assert(q != NULL); |
338 | 337 |
339 for (unsigned int y = 0; y < height; y++) | 338 for (unsigned int y = 0; y < height; y++) |