diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-05-06 15:58:32 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-05-06 15:58:32 -0700 |
commit | 9ea57a43faeab85a9a431e987ff4c3ba670083a0 (patch) | |
tree | b6d62fc00b6b5999c03ce06738ea286f3cdc9854 /core/src/fpdfapi/fpdf_parser | |
parent | ad2a822ce5c320c61510ffdc309f766ab1056ef5 (diff) | |
download | pdfium-9ea57a43faeab85a9a431e987ff4c3ba670083a0.tar.xz |
Remove FX_STRSIZE casts, use safe conversions
BUG=pdfium:153
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1124043003
Diffstat (limited to 'core/src/fpdfapi/fpdf_parser')
-rw-r--r-- | core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp b/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp index 0bb66da209..8f5871df7f 100644 --- a/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp +++ b/core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp @@ -439,7 +439,7 @@ CFX_WideString PDF_DecodeText(FX_LPCBYTE src_data, FX_DWORD src_len, CFX_CharMap CFX_ByteString PDF_EncodeText(FX_LPCWSTR pString, int len, CFX_CharMap* pCharMap) { if (len == -1) { - len = (FX_STRSIZE)FXSYS_wcslen(pString); + len = FXSYS_wcslen(pString); } CFX_ByteString result; if (pCharMap == NULL) { |