diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-18 15:31:09 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-18 15:31:09 +0800 |
commit | 2502fc38a34eaf5a146e502a0e87eccfe3283ed9 (patch) | |
tree | 677e4bb5bf0dea45abf6baf48d1ad18bed46e43e /mbbsd/screen.c | |
parent | 4c5f4c5f248509cd1e46ef308d52be1804181411 (diff) | |
download | pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar.gz pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar.bz2 pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar.lz pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar.xz pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.tar.zst pttbbs-2502fc38a34eaf5a146e502a0e87eccfe3283ed9.zip |
warning free
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@863 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/screen.c')
-rw-r--r-- | mbbsd/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c index 23aa9e71..832abfca 100644 --- a/mbbsd/screen.c +++ b/mbbsd/screen.c @@ -1,4 +1,4 @@ -/* $Id: screen.c,v 1.14 2003/01/16 11:53:54 kcwu Exp $ */ +/* $Id: screen.c,v 1.15 2003/05/18 07:31:09 in2 Exp $ */ #include "bbs.h" #ifdef SUPPORT_GB @@ -379,7 +379,7 @@ outc(unsigned char ch) if (ch == 'm') { buf[p++] = '\0'; parsecolor(buf); - } else if ((p < sizeof(buf)) && (not_alpha(ch))) { + } else if (((size_t)p < sizeof(buf)) && (not_alpha(ch))) { buf[p++] = ch; return; } |