| Index: fpdfsdk/src/javascript/Document.cpp
|
| diff --git a/fpdfsdk/src/javascript/Document.cpp b/fpdfsdk/src/javascript/Document.cpp
|
| index 6a3d6e1e334d1ed7661db22015570cad014e7fe1..230a4ce49c243e13ae2b9448e6c8eaca7249109c 100644
|
| --- a/fpdfsdk/src/javascript/Document.cpp
|
| +++ b/fpdfsdk/src/javascript/Document.cpp
|
| @@ -1223,7 +1223,7 @@ FX_BOOL Document::documentFileName(IFXJS_Context* cc, CJS_PropValue& vp, CFX_Wid
|
| return FALSE;
|
| }
|
| CFX_WideString wsFilePath = m_pDocument->GetPath();
|
| - FX_INT32 i = wsFilePath.GetLength() - 1;
|
| + int32_t i = wsFilePath.GetLength() - 1;
|
| for ( ; i >= 0; i-- )
|
| {
|
| if ( wsFilePath.GetAt( i ) == L'\\' || wsFilePath.GetAt( i ) == L'/' )
|
|
|