1
0
mirror of https://github.com/InfrastructureServices/vsftpd.git synced 2025-04-19 01:24:02 +03:00

fixed comparision of signed and unsigned ints

This commit is contained in:
Artem Egorenkov 2021-04-08 16:34:35 +02:00
parent 00723168b8
commit 03827879e8

2
str.c
View File

@ -772,7 +772,7 @@ void str_replace_unprintable_with_hex_wc(struct mystr* p_str)
{
if (!iswprint(pwc))
{
for (unsigned int i = 0; i < len; i++)
for (int i = 0; i < len; i++)
{
ups[up_count++] = current++;
}