summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-05 23:24:41 +0200
committerErnestas Kulik <ernestas.kulik@gmail.com>2018-03-05 22:03:50 +0000
commite919f126eca4173a24f35da9e3f1fdfed861b626 (patch)
tree46ad4fce06a68964d137d3a437323f25e4da5980
parent61054d5f528c1cb492d15687cf073d898257c897 (diff)
downloadnautilus-e919f126eca4173a24f35da9e3f1fdfed861b626.tar.gz
tag-manager: use platform-dependent conversion specifier
What is %ld on x86_64 machines might not be what %lld is on x86 machines. Fixes https://gitlab.gnome.org/GNOME/nautilus/issues/283
-rw-r--r--src/nautilus-tag-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c
index c046c641c..b7b194041 100644
--- a/src/nautilus-tag-manager.c
+++ b/src/nautilus-tag-manager.c
@@ -707,7 +707,7 @@ on_tracker_notifier_events (TrackerNotifier *notifier,
query = g_string_new ("");
g_string_append_printf (query,
- "SELECT ?url WHERE { ?urn nie:url ?url; nao:hasTag nao:predefined-tag-favorite . FILTER (tracker:id(?urn) = %ld)}",
+ "SELECT ?url WHERE { ?urn nie:url ?url; nao:hasTag nao:predefined-tag-favorite . FILTER (tracker:id(?urn) = %" G_GINT64_FORMAT ")}",
tracker_notifier_event_get_id (event));
/* check if the file changed it's location and update hash table if so */