]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/store/postgresql/postgresql_store_users.cpp
Different small fixes plus error logging.
[stg.git] / projects / stargazer / plugins / store / postgresql / postgresql_store_users.cpp
index 4cd64418e9d3f370263e2d1553f13073da07c29b..0722cc4c8d76671982b60fcf2dd948a7ba8d7746 100644 (file)
@@ -1525,7 +1525,7 @@ if (PQresultStatus(result) != PGRES_COMMAND_OK)
 
 PQclear(result);
 
-for (int i = 0; i < ips.Count(); ++i)
+for (size_t i = 0; i < ips.Count(); ++i)
     {
     std::ostringstream query;
     query << "INSERT INTO tb_allowed_ip "