From 7b6a9a8d960f64fb374de1f2bb9981e76fc71470 Mon Sep 17 00:00:00 2001 From: Mike Gran Date: Wed, 22 Apr 2015 14:43:25 -0700 Subject: [PATCH] Fix debug message format string The format string %ld is incorrect for i686 * xdg-app-utils.c (load_contents): modify format string --- xdg-app-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xdg-app-utils.c b/xdg-app-utils.c index 41e06d35..a8ff307c 100644 --- a/xdg-app-utils.c +++ b/xdg-app-utils.c @@ -584,7 +584,7 @@ load_contents (const char *uri, GBytes **contents, GCancellable *cancellable, GE ret = TRUE; - g_debug ("Received %ld bytes", g_bytes_get_size (*contents)); + g_debug ("Received %" G_GSIZE_FORMAT " bytes", g_bytes_get_size (*contents)); out: return ret;