diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-10 01:44:39 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-10 01:44:39 +0800 |
commit | dc1e907c2cf1038a9dc24a4f4969a8403097bd85 (patch) | |
tree | ad37009f7662f3204509a196b8eaa74f0586e37f /util/uhash_loader.c | |
parent | 90451291f8f509d0f0e3f1c442bb3325de30d9b0 (diff) | |
download | pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar.gz pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar.bz2 pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar.lz pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar.xz pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.tar.zst pttbbs-dc1e907c2cf1038a9dc24a4f4969a8403097bd85.zip |
no warning
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@16 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/uhash_loader.c')
-rw-r--r-- | util/uhash_loader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/uhash_loader.c b/util/uhash_loader.c index 2d88dd06..1a963829 100644 --- a/util/uhash_loader.c +++ b/util/uhash_loader.c @@ -1,4 +1,4 @@ -/* $Id: uhash_loader.c,v 1.1 2002/03/07 15:13:47 in2 Exp $ */ +/* $Id: uhash_loader.c,v 1.2 2002/03/09 17:44:30 in2 Exp $ */ /* standalone uhash loader -- jochang */ #include <stdio.h> #include <unistd.h> @@ -91,7 +91,7 @@ void fill_uhash(void) for (mimage = fimage; usernumber < fd; mimage += sizeof(userec_t)) { - add_to_uhash(usernumber, mimage); + add_to_uhash(usernumber, (userec_t *)mimage); usernumber++; } munmap(fimage, stbuf.st_size); |