diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-07 11:39:00 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-07 11:39:00 +0800 |
commit | d898d4442cdba7888997640a7e1271b192d73341 (patch) | |
tree | 39daabc8e7a1e0d0659dfb345f817526aababa44 /mbbsd/edit.c | |
parent | ac61497ab12220a3790c805a7f968d559d33721d (diff) | |
download | pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.gz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.bz2 pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.lz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.xz pttbbs-d898d4442cdba7888997640a7e1271b192d73341.tar.zst pttbbs-d898d4442cdba7888997640a7e1271b192d73341.zip |
warning free, make gcc 4.0 happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2916 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 8 |
1 files changed, 4 insertions, 4 deletions
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, |