Index: core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp |
diff --git a/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp |
index 6be90941d62ea55fb1561724bb3afa0270d09267..140ca38f99acdde05fab29ba55fabf9ef54eb9d6 100644 |
--- a/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp |
+++ b/core/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp |
@@ -75,7 +75,7 @@ bool CJBig2_ArithIntDecoder::decode(CJBig2_ArithDecoder* pArithDecoder, |
CJBig2_ArithIaidDecoder::CJBig2_ArithIaidDecoder(unsigned char SBSYMCODELENA) |
: SBSYMCODELEN(SBSYMCODELENA) { |
- m_IAID.resize(1 << SBSYMCODELEN); |
+ m_IAID.resize(static_cast<size_t>(1) << SBSYMCODELEN); |
} |
CJBig2_ArithIaidDecoder::~CJBig2_ArithIaidDecoder() {} |