X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexOverlaysDCM.cxx;h=8cef91d14f0fe25c591a0638facce8bfa2ab20a2;hb=6c40186a16e41e7f97357cc0adc4eee44f75e59f;hp=2a53707686c5edd5d66634de46c669277ca41a84;hpb=704ae81a87e0cb2df1bb86e247a453725d723eb6;p=gdcm.git diff --git a/Example/exOverlaysDCM.cxx b/Example/exOverlaysDCM.cxx index 2a537076..8cef91d1 100755 --- a/Example/exOverlaysDCM.cxx +++ b/Example/exOverlaysDCM.cxx @@ -122,7 +122,7 @@ int main(int argc, char *argv[]) unsigned char *outputData = new unsigned char[dimXY]; unsigned char *result=outputData; - for (int i=0;i<(dimXY/8);i++) + for (unsigned int i=0;i<(dimXY/8);i++) { explodeByte(overlay[i], result); result+=8;