diff options
author | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-07-12 00:12:25 +0200 |
---|---|---|
committer | Colin Patrick McCabe <cmccabe@alumni.cmu.edu> | 2011-07-12 00:12:25 +0200 |
commit | d5c8b9653de61637976fe21319b13b84bf469089 (patch) | |
tree | 261b41b97939389d997efeafc50dc683e4c333d6 /src/common/mime.c | |
parent | test/mime: test invalid decodes (diff) | |
download | ceph-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.c | 2 |
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') { |