Skip to content

Commit 607107e

Browse files
resolve type issue
1 parent 138481f commit 607107e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/logic/input.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ int fossil_io_validate_is_suspicious_user(const char *input) {
492492
if (strchr(input, '@') || fossil_io_cstring_case_search(input, "http") != NULL) return 1;
493493

494494
// 9. Looks like a UUID or hex string
495-
int hex_count = 0;
495+
size_t hex_count = 0;
496496
for (size_t i = 0; i < len; i++) {
497497
if (isxdigit((unsigned char)input[i])) hex_count++;
498498
}

0 commit comments

Comments
 (0)