fixe warnings

This commit is contained in:
wt committed 2024-12-04 08:45:52 +07:00
1 parent 04fda09b98
commit 1513a05904
1 file changed
+1 -1
+1 -1
View File
@@ -64,7 +64,7 @@ void delete_user(const httplib::Request &request, httplib::Response &response) {
}
bool found = false;
for (int i = 0; i < all_users.size(); i++) {
for (size_t i = 0; i < all_users.size(); i++) {
if (all_users[i]["id"] == deluserid) {
std::stringstream syslogstring;
syslogstring << "user deleted [" << all_users[i]["username"] << "]";