tdb: Fix a signed/unsigned hickup
authorVolker Lendecke <vl@samba.org>
Wed, 10 Aug 2016 08:16:05 +0000 (10:16 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 29 Aug 2016 17:03:26 +0000 (19:03 +0200)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/tdb/common/tdb.c

index dd9368015396243b61ce9ca83bcc591772a5fda6..e75f50c249718bd71bb0e6145df881ee2c1b066e 100644 (file)
@@ -790,7 +790,7 @@ static int tdb_free_region(struct tdb_context *tdb, tdb_off_t offset, ssize_t le
  */
 _PUBLIC_ int tdb_wipe_all(struct tdb_context *tdb)
 {
-       int i;
+       uint32_t i;
        tdb_off_t offset = 0;
        ssize_t data_len;
        tdb_off_t recovery_head;