summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-08-04 04:10:58 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-04 04:10:58 +0000
commitac1dfb0ef15e273aab6476a460dfd4f2778e9703 (patch)
treebf79064ab1c12b039b347d2286a37d0eda798d99 /public
parent03395da5d5827b6b3049d8632d8d3f5545e45293 (diff)
downloadpdfium-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 'public')
0 files changed, 0 insertions, 0 deletions