diff options
author | Lei Zhang <thestig@chromium.org> | 2018-08-04 04:10:58 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-08-04 04:10:58 +0000 |
commit | ac1dfb0ef15e273aab6476a460dfd4f2778e9703 (patch) | |
tree | bf79064ab1c12b039b347d2286a37d0eda798d99 /core/fpdfapi/cmaps | |
parent | 03395da5d5827b6b3049d8632d8d3f5545e45293 (diff) | |
download | pdfium-ac1dfb0ef15e273aab6476a460dfd4f2778e9703.tar.xz |
Clarify integer types in CPDF_Parser::LoadCrossRefV5().
GetVarInt() returns uint32_t. So assign the results to variables of type
uint32_t. Then make sure those results get passed on as uint32_t, or use
pdfium::base::IsValueInRangeForNumericType<T>() to make sure they can be
converted to type T safely.
Change-Id: I4556f0b89b4e5cdb99ab530119c8051ec8a9411d
Reviewed-on: https://pdfium-review.googlesource.com/39436
Reviewed-by: Art Snake <art-snake@yandex-team.ru>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fpdfapi/cmaps')
0 files changed, 0 insertions, 0 deletions