mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-06-17 20:19:24 +00:00
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:
@@ -680,7 +680,7 @@ handle_mode (server * serv, char *word[], char *word_eol[],
|
||||
int len;
|
||||
size_t arg;
|
||||
size_t i, num_args;
|
||||
int num_modes;
|
||||
size_t num_modes;
|
||||
size_t offset = 3;
|
||||
int all_modes_have_args = FALSE;
|
||||
int using_front_tab = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user