From 0d6e822f0799ca587ed88f6492baad9606629648 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 11 Jul 2017 17:25:08 +0200 Subject: libtracker-sparql: Fix horrible confusion with G_GINT64_FORMAT The "d" is already implied there, not for us to add. Let's pretend this never happened... --- src/libtracker-sparql/tracker-notifier.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/libtracker-sparql') diff --git a/src/libtracker-sparql/tracker-notifier.c b/src/libtracker-sparql/tracker-notifier.c index e5a9617d3..c9e4e7600 100644 --- a/src/libtracker-sparql/tracker-notifier.c +++ b/src/libtracker-sparql/tracker-notifier.c @@ -434,7 +434,7 @@ create_extra_info_query (TrackerNotifier *notifier, if (has_elements) g_string_append_c (filter, ','); - g_string_append_printf (filter, "%" G_GINT64_FORMAT "d", event->id); + g_string_append_printf (filter, "%" G_GINT64_FORMAT, event->id); has_elements = TRUE; } @@ -490,7 +490,7 @@ tracker_notifier_query_extra_info (TrackerNotifier *notifier, event = find_event_in_array (events, id, &idx); if (!event) { - g_critical ("Queried for id %" G_GINT64_FORMAT "d but it is not " + g_critical ("Queried for id %" G_GINT64_FORMAT " but it is not " "found, bailing out", id); break; } @@ -523,8 +523,8 @@ create_extra_deleted_info_query (TrackerNotifier *notifier, if (event->type != TRACKER_NOTIFIER_EVENT_DELETE) continue; - g_string_append_printf (sparql, "%" G_GINT64_FORMAT "d " - "tracker:uri(%" G_GINT64_FORMAT "d)", + g_string_append_printf (sparql, "%" G_GINT64_FORMAT " " + "tracker:uri(%" G_GINT64_FORMAT ")", event->id, event->id); has_elements = TRUE; } @@ -574,7 +574,7 @@ tracker_notifier_query_extra_deleted_info (TrackerNotifier *notifier, event = find_event_in_array (events, id, &idx); if (!event) { - g_critical ("Queried for id %" G_GINT64_FORMAT "d in column %d " + g_critical ("Queried for id %" G_GINT64_FORMAT " in column %d " "but it is not found, bailing out", id, col); break; } -- cgit v1.2.1