From 80aa8c26887d98f654a9eecf7298663656cfc40f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 7 Oct 2015 10:44:43 -0700 Subject: Fix the Windows build after commit 8a9ce57. TBR=tsepez@chromium.org Review URL: https://codereview.chromium.org/1396533002 . --- core/src/fxcodec/jbig2/JBig2_Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/fxcodec/jbig2/JBig2_Context.cpp b/core/src/fxcodec/jbig2/JBig2_Context.cpp index 3e0ebb36e3..e8d4bb8cc8 100644 --- a/core/src/fxcodec/jbig2/JBig2_Context.cpp +++ b/core/src/fxcodec/jbig2/JBig2_Context.cpp @@ -1293,7 +1293,7 @@ int32_t CJBig2_Context::parseRegionInfo(JBig2RegionInfo* pRI) { JBig2HuffmanCode* CJBig2_Context::decodeSymbolIDHuffmanTable( CJBig2_BitStream* pStream, FX_DWORD SBNUMSYMS) { - size_t kRunCodesSize = 35; + const size_t kRunCodesSize = 35; int32_t runcodes[kRunCodesSize]; int32_t runcodes_len[kRunCodesSize]; for (int32_t i = 0; i < kRunCodesSize; ++i) { -- cgit v1.2.3