summaryrefslogtreecommitdiffstats
path: root/src/common/mime.c
diff options
context:
space:
mode:
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-07-12 00:12:25 +0200
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>2011-07-12 00:12:25 +0200
commitd5c8b9653de61637976fe21319b13b84bf469089 (patch)
tree261b41b97939389d997efeafc50dc683e4c333d6 /src/common/mime.c
parenttest/mime: test invalid decodes (diff)
downloadceph-d5c8b9653de61637976fe21319b13b84bf469089.tar.xz
ceph-d5c8b9653de61637976fe21319b13b84bf469089.zip
mime.c: avoid compiler warning
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
Diffstat (limited to 'src/common/mime.c')
-rw-r--r--src/common/mime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mime.c b/src/common/mime.c
index 7bb2f3103d1..1c5f3aca1a2 100644
--- a/src/common/mime.c
+++ b/src/common/mime.c
@@ -101,7 +101,7 @@ int mime_decode_from_qp(const char *input, char *output, int outlen)
{
int ret = 1;
char *o = output;
- const unsigned char *i = input;
+ const unsigned char *i = (const unsigned char*)input;
while (1) {
unsigned int c = *i;
if (c == '\0') {