mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +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:
@@ -170,7 +170,8 @@ xtext_pango_attr (PangoAttribute *attr)
|
||||
static void
|
||||
xtext_pango_init (GtkXText *xtext)
|
||||
{
|
||||
int i, j;
|
||||
size_t i;
|
||||
int j;
|
||||
char buf[2] = "\000";
|
||||
|
||||
if (attr_lists[0])
|
||||
|
||||
Reference in New Issue
Block a user