projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99fa22c
)
libmdb: signed meets unsigned warning cleanup
author
Hallvard Furuseth
<hallvard@openldap.org>
Thu, 12 Apr 2012 05:34:13 +0000
(07:34 +0200)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Thu, 12 Apr 2012 06:15:33 +0000
(08:15 +0200)
libraries/libmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/libmdb/mdb.c
b/libraries/libmdb/mdb.c
index
f74adbe
..
4f703e4
100644
(file)
--- a/
libraries/libmdb/mdb.c
+++ b/
libraries/libmdb/mdb.c
@@
-1129,7
+1129,8
@@
static void mdb_audit(MDB_txn *txn)
{
MDB_cursor mc;
MDB_val key, data;
- int rc, i;
+ MDB_dbi i;
+ int rc;
ID freecount, count;
freecount = 0;
@@
-1149,7
+1150,7
@@
static void mdb_audit(MDB_txn *txn)
mdb_cursor_init(&mc, txn, i, &mx);
mdb_page_search(&mc, NULL, 0);
do {
-
int
j;
+
unsigned
j;
MDB_page *mp;
mp = mc.mc_pg[mc.mc_top];
for (j=0; j<NUMKEYS(mp); j++) {