summaryrefslogtreecommitdiffstats
path: root/include/cmsys.h
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 00:48:08 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-07 00:48:08 +0800
commit31608b78029a559ff1de6aa1188318c79c76f698 (patch)
tree0938b2d40ba1853dd775f758a6c476f53fa1144a /include/cmsys.h
parent3a374a93478bb790ccd98afd6fc17e752d235746 (diff)
downloadpttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.gz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.bz2
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.lz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.xz
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.tar.zst
pttbbs-31608b78029a559ff1de6aa1188318c79c76f698.zip
- fix compile warnings
- str_decode_M3: Assume output size is shorter than input size. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4501 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/cmsys.h')
-rw-r--r--include/cmsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cmsys.h b/include/cmsys.h
index 1b2b4f4e..d680ae2a 100644
--- a/include/cmsys.h
+++ b/include/cmsys.h
@@ -111,7 +111,7 @@ extern size_t str_iconv(
size_t srclen, /* source string length */
char *dst, /* destination string */
size_t dstlen);
-extern void str_decode_M3(unsigned char *str);
+extern void str_decode_M3(char *str);
/* time.c */
extern int is_leap_year(int year);