[grilo] build: fix build due wrong format in debug
- From: Dominique Leuenberger <dleuen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] build: fix build due wrong format in debug
- Date: Sun, 11 Sep 2016 09:14:00 +0000 (UTC)
commit 3a6268f60712aafd2f007426e5d646c8ce237657
Author: Dominique Leuenberger <dimstar opensuse org>
Date: Sat Sep 10 23:51:38 2016 +0200
build: fix build due wrong format in debug
Introduced in commit f3ccf55
tests/lib-net.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]