SHA256
1
0
forked from pool/bijiben
bijiben/bijiben-fix-i586-longint.patch

33 lines
1.2 KiB
Diff

From bbd6b4ab460a268110e94933c3bf0b667a594ff3 Mon Sep 17 00:00:00 2001
From: Isaque Galdino <igaldino@gmail.com>
Date: Thu, 15 Jun 2017 10:33:21 -0300
Subject: memo-provider: Wrong output 64 bits format
gcc7 is complaining about a format for a 64 bits integer. The expected
argument is of type 'long int', but it is using a 'long long int'
instead.
To fix that problem, we changed the format "%li" to "%"G_GINT64_FORMAT.
https://bugzilla.gnome.org/show_bug.cgi?id=783714
---
src/libbiji/provider/biji-memo-provider.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbiji/provider/biji-memo-provider.c b/src/libbiji/provider/biji-memo-provider.c
index 975cd11..0b82c1e 100644
--- a/src/libbiji/provider/biji-memo-provider.c
+++ b/src/libbiji/provider/biji-memo-provider.c
@@ -203,7 +203,7 @@ handle_next_item (BijiMemoProvider *self)
create_note_from_item (item);
/* debug pour tracker. Il faut en plus datasource->urn */
- g_debug ("created=%li", item->set.created);
+ g_debug ("created=%"G_GINT64_FORMAT, item->set.created);
g_debug ("title=%s", item->set.title);
g_debug ("url=%s", item->set.url);
g_debug ("content=%s\n================\n\n\n", item->set.content);
--
cgit v0.12