[bijiben] memo-provider: Wrong output 64 bits format
- From: Isaque Galdino de Araujo <igaldino src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] memo-provider: Wrong output 64 bits format
- Date: Thu, 15 Jun 2017 13:43:10 +0000 (UTC)
commit bbd6b4ab460a268110e94933c3bf0b667a594ff3
Author: Isaque Galdino <igaldino gmail com>
Date: Thu Jun 15 10:33:21 2017 -0300
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 files changed, 1 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]