| Index: fpdfsdk/fxedit/fxet_edit.cpp
|
| diff --git a/fpdfsdk/fxedit/fxet_edit.cpp b/fpdfsdk/fxedit/fxet_edit.cpp
|
| index b568440abeb6a9a8178b186d3a607316a9fa04ce..3d7e485f356fb0534e8f68b08230750aa032614f 100644
|
| --- a/fpdfsdk/fxedit/fxet_edit.cpp
|
| +++ b/fpdfsdk/fxedit/fxet_edit.cpp
|
| @@ -103,7 +103,7 @@ int32_t CFX_Edit_Provider::GetCharWidth(int32_t nFontIndex,
|
| uint16_t word,
|
| int32_t nWordStyle) {
|
| if (CPDF_Font* pPDFFont = m_pFontMap->GetPDFFont(nFontIndex)) {
|
| - FX_DWORD charcode = word;
|
| + uint32_t charcode = word;
|
|
|
| if (pPDFFont->IsUnicodeCompatible())
|
| charcode = pPDFFont->CharCodeFromUnicode(word);
|
|
|