diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-01 11:36:54 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-10-01 11:36:54 +0800 |
commit | 9cfd1c185ce0d0e76780f6432c4324d965e2abf7 (patch) | |
tree | b7d50c5edf0229099ec36744684852b8f813fdde /common/sys/string.c | |
parent | 91ccf975bf2f1334e8da51befb2fd0f50727d83f (diff) | |
download | pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.gz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.bz2 pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.lz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.xz pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.tar.zst pttbbs-9cfd1c185ce0d0e76780f6432c4324d965e2abf7.zip |
strstr is char *, not const char *
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4407 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'common/sys/string.c')
-rw-r--r-- | common/sys/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sys/string.c b/common/sys/string.c index 02c5eb98..6f738939 100644 --- a/common/sys/string.c +++ b/common/sys/string.c @@ -348,7 +348,7 @@ int DBCS_Status(const char *dbcstr, int pos) /** * DBCS_strcasestr(pool, ptr): 在字串 pool 中尋找 ptr (只忽略英文大小寫) */ -const char * +char * DBCS_strcasestr(const char* pool, const char *ptr) { int i = 0, i2 = 0, found = 0, |