summaryrefslogtreecommitdiff
path: root/src/utils/base64.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/base64.cpp')
-rw-r--r--src/utils/base64.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils/base64.cpp b/src/utils/base64.cpp
index 62ba76f21..5a87f517c 100644
--- a/src/utils/base64.cpp
+++ b/src/utils/base64.cpp
@@ -102,7 +102,10 @@ unsigned char *php3_base64_decode(const unsigned char *restrict const string,
int *restrict const ret_length)
{
const unsigned char *current = string;
- int ch, i = 0, j = 0, k;
+ int ch;
+ int i = 0;
+ int j = 0;
+ int k;
unsigned char *result = static_cast<unsigned char *>(
calloc(length + 1, 1));