s4:nbt_server - fix a LDB counter type
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 19 Oct 2010 13:05:01 +0000 (15:05 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 19 Oct 2010 14:05:13 +0000 (14:05 +0000)
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Oct 19 14:05:13 UTC 2010 on sn-devel-104

source4/nbt_server/wins/winsdb.c

index f62cce9205fa7182ad78655d779f7f6921d8dac5..9ed4d0ac0a4fea9e48b70c1905c203b4a0fff71e 100644 (file)
@@ -855,7 +855,7 @@ uint8_t winsdb_modify(struct winsdb_handle *h, struct winsdb_record *rec, uint32
        TALLOC_CTX *tmp_ctx = talloc_new(wins_db);
        int trans;
        int ret;
-       int i;
+       unsigned int i;
 
        trans = ldb_transaction_start(wins_db);
        if (trans != LDB_SUCCESS) goto failed;