summaryrefslogtreecommitdiff
path: root/lib/base64.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-22 02:37:13 +0000
committerYang Tse <yangsita@gmail.com>2010-02-22 02:37:13 +0000
commitdc9f0a9758536d1bd7bfa2f9b073d6a63570f721 (patch)
treec98e2e003dce7ae7a5361d80965cf49a83380307 /lib/base64.c
parent10affed097df354f1b9db8602cd7257f76d10654 (diff)
downloadcurl-dc9f0a9758536d1bd7bfa2f9b073d6a63570f721.tar.gz
fix compiler warning
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);
}
/*