From 70bd4bc092c7b5e49db54c1e95b61b0b2e0017d9 Mon Sep 17 00:00:00 2001 From: "halcanary@google.com" Date: Fri, 4 Oct 2013 13:24:59 +0000 Subject: [PATCH] Fix narrowing warning error I was breaking build, by having a char instead of unsigned char. Review URL: https://codereview.chromium.org/25683012 git-svn-id: http://skia.googlecode.com/svn/trunk@11599 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/JpegTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/JpegTest.cpp b/tests/JpegTest.cpp index b0c76fc88c..7a5ee4deef 100644 --- a/tests/JpegTest.cpp +++ b/tests/JpegTest.cpp @@ -19,7 +19,7 @@ __SK_FORCE_IMAGE_DECODER_LINKING; // normal unit testing. namespace { - char goodJpegImage[] = { + unsigned char goodJpegImage[] = { 0xFF, 0xD8, 0xFF, 0xE0, 0x00, 0x10, 0x4A, 0x46, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x8F, 0x00, 0x8F, 0x00, 0x00, 0xFF, 0xDB, 0x00, 0x43,