ranier wrote:

--- sdbm-old.c 2003-07-08 19:55:04.000000000 -0300
+++ sdbm.c 2003-07-08 19:57:52.000000000 -0300
@@ -495,7 +495,7 @@
while (dbit < db->maxbno && getdbit(db, dbit))
dbit = 2 * dbit + ((hash & (1 << hbit++)) ? 2 : 1);
- debug(("dbit: %d...", dbit));
+ debug(("dbit: %lu...", dbit));

shouldn't your changes use %ld instead of %lu? It looks to me that dbit and pagb are longs, not unsigned longs.



Reply via email to