| Index: core/fpdfdoc/doc_basic.cpp
|
| diff --git a/core/fpdfdoc/doc_basic.cpp b/core/fpdfdoc/doc_basic.cpp
|
| index e0b71df39249158b65f7089ad8fa50da93da6a30..6d6e5c234f4c8ebbfc5ba703549b25b88a82e93a 100644
|
| --- a/core/fpdfdoc/doc_basic.cpp
|
| +++ b/core/fpdfdoc/doc_basic.cpp
|
| @@ -511,7 +511,7 @@ int32_t CPDF_PageLabel::GetPageByLabel(const CFX_ByteStringC& bsLabel) const {
|
| }
|
| }
|
| bsLbl = bsOrig;
|
| - int nPage = FXSYS_atoi(bsLbl);
|
| + int nPage = FXSYS_atoi(bsLbl.c_str());
|
| if (nPage > 0 && nPage <= nPages) {
|
| return nPage;
|
| }
|
|
|