summaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base64.c')
-rw-r--r--lib/base64.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base64.c b/lib/base64.c
index dea74de9e..1820302a1 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -70,11 +70,11 @@ static void decodeQuantum(unsigned char *dest, const char *src)
x = (x << 6);
}
- dest[2] = (unsigned char)(x & 0xFFUL);
+ dest[2] = Curl_ultouc(x);
x >>= 8;
- dest[1] = (unsigned char)(x & 0xFFUL);
+ dest[1] = Curl_ultouc(x);
x >>= 8;
- dest[0] = (unsigned char)(x & 0xFFUL);
+ dest[0] = Curl_ultouc(x);
}
/*