[trunk] Remove some easy warnings about sign compare reported by gcc
[openjpeg.git] / tests / unit / testempty1.c
index f4140f648e8e16b610232d0b09bbeab1432698a8..a2ae2d2d2ebb5518643434fb948cec9718be3a9b 100644 (file)
@@ -91,7 +91,7 @@ int main(int argc, char *argv[])
 
   for (i = 0; i < image_width * image_height; i++)
     {
-    int compno;
+    unsigned int compno;
     for(compno = 0; compno < numcomps; compno++)
       {
       image->comps[compno].data[i] = 0;