File grilo-fix-32bit-build.patch of Package grilo

From 3a6268f60712aafd2f007426e5d646c8ce237657 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Sat, 10 Sep 2016 23:51:38 +0200
Subject: [PATCH] build: fix build due wrong format in debug

Introduced in commit f3ccf55
---
 tests/lib-net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/lib-net.c b/tests/lib-net.c
index d1eb73e..0608083 100644
--- a/tests/lib-net.c
+++ b/tests/lib-net.c
@@ -86,7 +86,7 @@ soup_server_throttling_cb (SoupServer *server,
                            SoupClientContext *client,
                            gpointer user_data)
 {
-  gchar *response = g_strdup_printf ("%lu", g_get_monotonic_time());
+  gchar *response = g_strdup_printf ("%" G_GINT64_FORMAT, g_get_monotonic_time());
 
   soup_message_set_response (message, "text/plain", SOUP_MEMORY_TAKE, response, strlen(response));
   soup_message_set_status (message, SOUP_STATUS_OK);
-- 
2.10.0

openSUSE Build Service is sponsored by