using unsigned char instead of uint8_t to compile under windows
authorHanusz Leszek <leszek.hanusz@gmail.com>
Wed, 21 Aug 2013 10:33:51 +0000 (12:33 +0200)
committerHanusz Leszek <leszek.hanusz@gmail.com>
Wed, 21 Aug 2013 10:33:51 +0000 (12:33 +0200)
modules/highgui/test/test_grfmt.cpp

index ed16d1c..86954e3 100644 (file)
@@ -295,7 +295,7 @@ public:
 
             ASSERT_TRUE(img.channels() == 4);
 
-            uint8_t* img_data = (uint8_t*)img.data;
+            unsigned char* img_data = (unsigned char*)img.data;
 
             // Verification first pixel is red in BGRA
             ASSERT_TRUE(img_data[0] == 0x00);
@@ -315,7 +315,7 @@ public:
 
             ASSERT_TRUE(img.channels() == 3);
 
-            img_data = (uint8_t*)img.data;
+            img_data = (unsigned char*)img.data;
 
             // Verification first pixel is red in BGR
             ASSERT_TRUE(img_data[0] == 0x00);
@@ -333,7 +333,7 @@ public:
 
             ASSERT_TRUE(img.channels() == 3);
 
-            img_data = (uint8_t*)img.data;
+            img_data = (unsigned char*)img.data;
 
             // Verification first pixel is red in BGR
             ASSERT_TRUE(img_data[0] == 0x00);
@@ -351,7 +351,7 @@ public:
 
             ASSERT_TRUE(img.channels() == 3);
 
-            img_data = (uint8_t*)img.data;
+            img_data = (unsigned char*)img.data;
 
             // Verification first pixel is red in BGR
             ASSERT_TRUE(img_data[0] == 0x00);