mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-14 09:40:20 +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:
@@ -988,7 +988,7 @@ void
|
||||
country_search (char *pattern, void *ud, void (*print)(void *, char *, ...))
|
||||
{
|
||||
const domain_t *dom;
|
||||
int i;
|
||||
size_t i;
|
||||
|
||||
for (i = 0; i < sizeof (domain) / sizeof (domain_t); i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user