Fix conversion error 26/245426/1
authorDaehyeon Jung <darrenh.jung@samsung.com>
Thu, 8 Oct 2020 10:12:28 +0000 (19:12 +0900)
committerDaehyeon Jung <darrenh.jung@samsung.com>
Thu, 8 Oct 2020 10:12:28 +0000 (19:12 +0900)
Change-Id: I4dfc3a90e520e0bdb5fac495c5d0b11dd0a56fd5

unit-tests/test.cc

index ad78476..c5067b0 100644 (file)
@@ -82,7 +82,7 @@ TEST_F(MimeTypeTest, GetFileExtension) {
 TEST_F(MimeTypeTest, GetMimeTypeForData) {
   int r;
   char* mime_type;
-  const char png[] = {0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
+  const unsigned char png[] = {0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
      0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
      0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
      0x01, 0x00, 0x00, 0x00, 0x00, 0x37, 0x6e, 0xf9,