Use unsigned type for decoding in _A85Decode.
authorBo Xu <bo_xu@foxitsoftware.com>
Tue, 27 May 2014 18:05:32 +0000 (11:05 -0700)
committerBo Xu <bo_xu@foxitsoftware.com>
Tue, 27 May 2014 18:05:32 +0000 (11:05 -0700)
commitdb140c844a119fc42d1b3312db3cd729f5651fb7
treeac7f59af800c120cb4b671d65425771e7ba85abf
parent282e53ded7e9f3d1ee5792d53def1b172ae6bb65
Use unsigned type for decoding in _A85Decode.

The local variable res can overflow over 2^31-1 and so
we must use unsigned type for decoding.

BUG=none
R=bo_xu@foxitsoftware.com

Review URL: https://codereview.chromium.org/288983009
core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp