[trunk] Fix two simple warnings about sign mismatch
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 24 Feb 2014 14:50:40 +0000 (14:50 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Mon, 24 Feb 2014 14:50:40 +0000 (14:50 +0000)
tests/unit/testempty1.c
tests/unit/testempty2.c

index 01547e3db7d2f349ee3af5c77255167ebe9e71a0..f4140f648e8e16b610232d0b09bbeab1432698a8 100644 (file)
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
 
   const OPJ_COLOR_SPACE color_space = OPJ_CLRSPC_GRAY;
   unsigned int numcomps = 1;
-  int i;
+  unsigned int i;
   unsigned int image_width = 256;
   unsigned int image_height = 256;
 
index dbbbaf93039f216ee2024106fd0f6b6fc14a2b81..764b14cc1ffa00f9ff6cf1886b399963d7344b4a 100644 (file)
@@ -59,7 +59,7 @@ int main(int argc, char *argv[])
 
   const OPJ_COLOR_SPACE color_space = OPJ_CLRSPC_GRAY;
   unsigned int numcomps = 1;
-  int i;
+  unsigned int i;
   unsigned int image_width = 256;
   unsigned int image_height = 256;