summaryrefslogtreecommitdiffstats
path: root/preconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'preconv.c')
-rw-r--r--preconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/preconv.c b/preconv.c
index 73fd415f..21013daa 100644
--- a/preconv.c
+++ b/preconv.c
@@ -33,7 +33,7 @@ preconv_encode(struct buf *ib, size_t *ii, struct buf *ob, size_t *oi,
int nby;
unsigned int accum;
- cu = ib->buf + *ii;
+ cu = (unsigned char *)ib->buf + *ii;
assert(*cu & 0x80);
if ( ! (*filenc & MPARSE_UTF8))