summaryrefslogtreecommitdiff
path: root/fpdfsdk/javascript/PublicMethods.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/javascript/PublicMethods.cpp')
-rw-r--r--fpdfsdk/javascript/PublicMethods.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/javascript/PublicMethods.cpp b/fpdfsdk/javascript/PublicMethods.cpp
index 08c8147cc1..acd01bb6db 100644
--- a/fpdfsdk/javascript/PublicMethods.cpp
+++ b/fpdfsdk/javascript/PublicMethods.cpp
@@ -32,7 +32,7 @@
#define DOUBLE_CORRECT 0.000000000000001
-JSMethodSpec CJS_PublicMethods::GlobalFunctionSpecs[] = {
+const JSMethodSpec CJS_PublicMethods::GlobalFunctionSpecs[] = {
{"AFNumber_Format", AFNumber_Format_static},
{"AFNumber_Keystroke", AFNumber_Keystroke_static},
{"AFPercent_Format", AFPercent_Format_static},