composetable: Fix gcc warnings

This commit is contained in:
Benjamin Otte 2016-02-03 23:06:53 +01:00
parent be6f65a08e
commit 9708ecdd5b

View File

@ -569,8 +569,8 @@ gtk_compose_table_serialize (GtkComposeTable *compose_table,
p += length; \
if (p - contents > total_length) \
{ \
g_warning ("data size %ld is bigger than %ld", \
p - contents, total_length); \
g_warning ("data size %lld is bigger than %" G_GSIZE_FORMAT, \
(long long) (p - contents), total_length); \
g_free (contents); \
if (count) \
*count = 0; \