| commit | 60a167f5bd95005870f02120583b3e4084684072 | [log] [tgz] |
|---|---|---|
| author | Tom Sepez <tsepez@chromium.org> | Tue Mar 12 19:40:18 2019 +0000 |
| committer | Chromium commit bot <commit-bot@chromium.org> | Tue Mar 12 19:40:18 2019 +0000 |
| tree | f27041801ced96933be0a8ddd4e6aa1abe87d4de | |
| parent | babc667e8a49b336ce8987689b2c0d7b003d3454 [diff] |
Return size_t from ParseTimeZone(). One of the last usages of int32_t for sizes in cfgas_formatstring.cpp Change-Id: I5b672d21e69893bbff12345c3f71bfb42421dc88 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/51750 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/xfa/fgas/crt/cfgas_formatstring.cpp b/xfa/fgas/crt/cfgas_formatstring.cpp index d30fa7b..7dccda0 100644 --- a/xfa/fgas/crt/cfgas_formatstring.cpp +++ b/xfa/fgas/crt/cfgas_formatstring.cpp
@@ -78,7 +78,7 @@ const wchar_t gs_wsDateSymbols[] = L"DJMEeGgYwW"; const wchar_t gs_wsConstChars[] = L",-:/. "; -int32_t ParseTimeZone(pdfium::span<const wchar_t> pStr, FX_TIMEZONE* tz) { +size_t ParseTimeZone(pdfium::span<const wchar_t> pStr, FX_TIMEZONE* tz) { tz->tzHour = 0; tz->tzMinute = 0; if (pStr.empty())