summaryrefslogtreecommitdiff
path: root/src/utils/base64.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-18 22:39:29 +0300
commit6419386c4c382753509425826ee609dd07d4ae72 (patch)
treef5f6d54f86a86a21a8145891797a561f5bb8e8d8 /src/utils/base64.cpp
parent78744020528ef6231e1606bbe2e8c53011c77935 (diff)
downloadmv-6419386c4c382753509425826ee609dd07d4ae72.tar.gz
mv-6419386c4c382753509425826ee609dd07d4ae72.tar.bz2
mv-6419386c4c382753509425826ee609dd07d4ae72.tar.xz
mv-6419386c4c382753509425826ee609dd07d4ae72.zip
add const to other files.
Diffstat (limited to 'src/utils/base64.cpp')
-rw-r--r--src/utils/base64.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp
index ebdfcb7c3..4e1061b6e 100644
--- a/src/utils/base64.cpp
+++ b/src/utils/base64.cpp
@@ -42,7 +42,7 @@ static char base64_table[] =
'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/', '\0'
};
-static char base64_pad = '=';
+static const char base64_pad = '=';
unsigned char *php3_base64_encode(const unsigned char *const string,
int length, int *const ret_length)