Mercurial > noffle
diff src/database.c @ 276:16dad3488e9d noffle
[svn] * src/client.c,src/database.h,src/database.c,src/over.h,src/over.c,
src/pseudo.c,src/server.c: Ensure format string specifiers and passed
data types match. As part of this, change some uses of size_t as a
general data type to an appropriate base C type. Database status changes
from int to unsigned.
author | bears |
---|---|
date | Sun, 10 Nov 2002 18:31:25 +0000 |
parents | 0880d6edaaa5 |
children | 5eece4dfd945 |
line wrap: on
line diff
--- a/src/database.c Sun Nov 10 15:34:59 2002 +0000 +++ b/src/database.c Sun Nov 10 18:31:25 2002 +0000 @@ -1,7 +1,7 @@ /* database.c - $Id: database.c 407 2002-11-10 15:34:59Z bears $ + $Id: database.c 408 2002-11-10 18:31:25Z bears $ Uses GNU gdbm library. Using Berkeley db (included in libc6) was cumbersome. It is based on Berkeley db 1.85, which has severe bugs @@ -53,8 +53,8 @@ Str date; Str ref; Str xref; - size_t bytes; - size_t lines; + unsigned long bytes; + unsigned long lines; /* Article text (except for overview header lines) */ DynStr *txt;