diff --git a/glib-formatstring.patch b/glib-formatstring.patch index 8977fab..63c8655 100644 --- a/glib-formatstring.patch +++ b/glib-formatstring.patch @@ -5,7 +5,18 @@ tt.tm_hour = 0; t = mktime (&tt); - g_sprintf (t_str, "%ld", t); -+ g_sprintf (t_str, "%ld", (long int)t); ++ g_sprintf (t_str, "%ld", (glong)t); TEST_PRINTF ("%a", "Sat"); TEST_PRINTF ("%A", "Saturday"); +--- gio/gdbusmessage.c.orig 2013-02-22 20:07:15.294752111 +0100 ++++ gio/gdbusmessage.c 2013-02-22 20:07:55.788028585 +0100 +@@ -1384,7 +1384,7 @@ + "Wanted to read %lu byte but only got %lu", + (gulong)len), + (gulong)len, +- (gulong)mbuf->valid_len - mbuf->pos); ++ (gulong)(mbuf->valid_len - mbuf->pos)); + mbuf->pos = mbuf->valid_len; + return NULL; + }