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 authored and Patrick committed 2024-01-29 09:06:29 -06:00
1 parent 0c48785543
commit 180ce9f4fd
8 files changed
+10 -8

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ hexchat_remote (void)
gboolean hexchat_running;
GError *error = NULL;
char *command = NULL;
int i;
guint i;
/* if there is nothing to do, return now. */
if (!arg_existing || !(arg_url || arg_urls || arg_command)) {