From d898d4442cdba7888997640a7e1271b192d73341 Mon Sep 17 00:00:00 2001 From: victor Date: Thu, 7 Jul 2005 03:39:00 +0000 Subject: warning free, make gcc 4.0 happy git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mbbsd/edit.c') diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 750b404c..8b6932e1 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1269,13 +1269,13 @@ do_quote(void) while (fgets(buf, 256, inf)) { insert_char(':'); insert_char(' '); - quote_strip_ansi_inline(buf); + quote_strip_ansi_inline((unsigned char *)buf); insert_string(buf); } else if (op == 'r') while (fgets(buf, 256, inf)) { /* repost, keep anything */ - // quote_strip_ansi_inline(buf); + // quote_strip_ansi_inline((unsigned char *)buf); insert_string(buf); } else { @@ -1287,7 +1287,7 @@ do_quote(void) if (!garbage_line(buf)) { insert_char(':'); insert_char(' '); - quote_strip_ansi_inline(buf); + quote_strip_ansi_inline((unsigned char *)buf); insert_string(buf); } } @@ -1465,7 +1465,7 @@ browse_sigs: showsignature(fpath, &i, &si); if (si.total > 0){ - unsigned char msg[64]; + char msg[64]; ch = isdigit(cuser.signature) ? cuser.signature : 'x'; sprintf(msg, -- cgit v1.2.3