Change various types to the correct signedness to avoid warnings.

Also cast the check of "inet_addr" to guint32. The POSIX declaration
of this function returns in_addr_t which is the same as uint32_t.
Windows does not define this type and instead uses unsigned long.
This commit is contained in:
Collin Funk
2024-01-28 19:33:45 -08:00
committed by Patrick
parent 0c48785543
commit 180ce9f4fd
8 changed files with 10 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ static void
random_string(char *out, size_t len)
{
GRand *rand = NULL;
int i = 0;
size_t i = 0;
rand = g_rand_new();
for (i = 0; i < len; ++i) {