Index: core/fpdfapi/fpdf_parser/cfdf_document.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cfdf_document.cpp b/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
index 9cbf999702882ea70c68636c714541e1404a4746..3039c329386283e8292867097b05d7720f4ad719 100644 |
--- a/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
+++ b/core/fpdfapi/fpdf_parser/cfdf_document.cpp |
@@ -53,7 +53,7 @@ void CFDF_Document::ParseStream(IFX_FileRead* pFile, FX_BOOL bOwnFile) { |
bool bNumber; |
CFX_ByteString word = parser.GetNextWord(&bNumber); |
if (bNumber) { |
- uint32_t objnum = FXSYS_atoui(word); |
+ uint32_t objnum = FXSYS_atoui(word.c_str()); |
word = parser.GetNextWord(&bNumber); |
if (!bNumber) { |
break; |