Index: fpdfsdk/javascript/PublicMethods.cpp |
diff --git a/fpdfsdk/javascript/PublicMethods.cpp b/fpdfsdk/javascript/PublicMethods.cpp |
index a4c13564c813d74348f6bbdadb6372589d705943..62659e4163011d1901dc97053b039a5016d759d5 100644 |
--- a/fpdfsdk/javascript/PublicMethods.cpp |
+++ b/fpdfsdk/javascript/PublicMethods.cpp |
@@ -1502,7 +1502,7 @@ FX_BOOL CJS_PublicMethods::AFSpecial_KeystrokeEx( |
if (wChange.empty()) |
return TRUE; |
- int iIndexMask = pEvent->SelStart(); |
+ size_t iIndexMask = pEvent->SelStart(); |
size_t combined_len = wstrValue.length() + wChange.length() - |
(pEvent->SelEnd() - pEvent->SelStart()); |