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
This commit is contained in:
halcanary@google.com 2013-10-04 13:24:59 +00:00
parent fed3037217
commit 70bd4bc092

View File

@ -19,7 +19,7 @@ __SK_FORCE_IMAGE_DECODER_LINKING;
// normal unit testing. // normal unit testing.
namespace { namespace {
char goodJpegImage[] = { unsigned char goodJpegImage[] = {
0xFF, 0xD8, 0xFF, 0xE0, 0x00, 0x10, 0x4A, 0x46, 0xFF, 0xD8, 0xFF, 0xE0, 0x00, 0x10, 0x4A, 0x46,
0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x8F, 0x49, 0x46, 0x00, 0x01, 0x01, 0x01, 0x00, 0x8F,
0x00, 0x8F, 0x00, 0x00, 0xFF, 0xDB, 0x00, 0x43, 0x00, 0x8F, 0x00, 0x00, 0xFF, 0xDB, 0x00, 0x43,