summaryrefslogtreecommitdiffstats
path: root/mbbsd/stuff.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 11:39:00 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-07 11:39:00 +0800
commitd898d4442cdba7888997640a7e1271b192d73341 (patch)
tree39daabc8e7a1e0d0659dfb345f817526aababa44 /mbbsd/stuff.c
parentac61497ab12220a3790c805a7f968d559d33721d (diff)
downloadpttbbs-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/stuff.c')
-rw-r--r--mbbsd/stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index 3b076fca..7d54efcf 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -897,7 +897,7 @@ void FREE(void *ptr)
#endif
unsigned
-StringHash(const unsigned char *s)
+StringHash(const char *s)
{
return fnv1a_32_strcase(s, FNV1_32_INIT);
}