From: Neil Brown Date: Sun, 21 May 2006 23:51:00 +0000 (+1000) Subject: Fix a couple of signed/unsigned warnings X-Git-Tag: v0.7~42 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=99274651bc17cc94c8623237fd09de2a09ad4b26;p=wiggle.git Fix a couple of signed/unsigned warnings (cherry picked from 80e90ff5842fb2b382efe8768f441ddbdca5300e commit) --- diff --git a/vpatch.c b/vpatch.c index 4fa31cf..7cbadee 100644 --- a/vpatch.c +++ b/vpatch.c @@ -658,7 +658,7 @@ void draw_line(int i, struct pos pos, int mode, if (e1.start[0] == '\n') { break; } - c = e1.start; + c = (unsigned char *)e1.start; l = e1.len; while (l) { if (*c >= ' ' && *c != 0x7f) { @@ -1075,7 +1075,7 @@ void draw_mside(int mode, int row, int offset, int start, int cols, if (e.start[0] == 0) continue; attrset(visible(mode, m[pos.m].type, pos.s)); - c = e.start; + c = (unsigned char *)e.start; l = e.len; while(l) { if (*c >= ' ' && *c != 0x7f) {