Index: xfa/fxfa/app/xfa_ffwidget.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidget.cpp b/xfa/fxfa/app/xfa_ffwidget.cpp |
index 93c1a3e34957013b0a5a73ee6eb69f423519ab7c..d585e279ce3b4b339365a1e260bbd94a91ba3e8d 100644 |
--- a/xfa/fxfa/app/xfa_ffwidget.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidget.cpp |
@@ -904,8 +904,10 @@ static int32_t XFA_Base64Decode(const FX_CHAR* pStr, uint8_t* pOutBuffer) { |
FX_Free(pBuffer); |
return j; |
} |
-static FX_CHAR g_base64_chars[] = |
+ |
+static const FX_CHAR g_base64_chars[] = |
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |
+ |
FX_CHAR* XFA_Base64Encode(const uint8_t* buf, int32_t buf_len) { |
FX_CHAR* out = NULL; |
int i, j; |