Fix warnings

This commit is contained in:
2025-08-17 14:42:39 +02:00
parent 504c4582e1
commit e67eb4175b
3 changed files with 36 additions and 15 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ int user_exists(SQLiteCache *dbcache, HTTP_String name, HTTP_String pass)
int rawhashlen = sqlite3_column_bytes(stmt, 1);
PasswordHash hash;
if (rawhashlen >= sizeof(hash.data)) {
if (rawhashlen >= (int) sizeof(hash.data)) {
sqlite3_reset(stmt);
return -500;
}