ctdb-daemon: Switch some variables to unsigned
[vlendec/samba-autobuild/.git] / ctdb / server / ctdb_call.c
index 485b0b3bd32a9da921f980ee33367a454d0f3a14..4a894217ce8f446c7f24b6f8b34a76ff90a9100c 100644 (file)
@@ -824,7 +824,7 @@ static void
 ctdb_update_db_stat_hot_keys(struct ctdb_db_context *ctdb_db, TDB_DATA key,
                             unsigned int count)
 {
-       int i, id;
+       unsigned int i, id;
        char *keystr;
 
        /* smallest value is always at index 0 */