Fix a compiling error on Mac
authorJun Fang <jun_fang@foxitsoftware.com>
Fri, 9 Oct 2015 05:40:38 +0000 (13:40 +0800)
committerJun Fang <jun_fang@foxitsoftware.com>
Fri, 9 Oct 2015 05:40:38 +0000 (13:40 +0800)
BUG=497357

TBR=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1395493003 .

core/src/fxcodec/codec/fx_codec_jpx_unittest.cpp

index 2dabb53..8c4a5b2 100644 (file)
@@ -498,7 +498,7 @@ TEST(fxcodec, YUV420ToRGB) {
   img.color_space = OPJ_CLRSPC_SYCC;
   img.comps = FX_Alloc(opj_image_comp_t, 3);
   const struct {
-    int w;
+    OPJ_UINT32 w;
     bool expected;
   } cases[] = {{0, false},
                {1, false},