[nautilus/wip/ernestask/build-fixes-and-much-much-more: 2/3] tag-manager: use platform-dependent conversion specifier
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/ernestask/build-fixes-and-much-much-more: 2/3] tag-manager: use platform-dependent conversion specifier
- Date: Mon, 5 Mar 2018 21:37:10 +0000 (UTC)
commit a835cc818d15783ad425552b421488eb664e958f
Author: Ernestas Kulik <ernestask gnome org>
Date: Mon Mar 5 23:24:41 2018 +0200
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
src/nautilus-tag-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-tag-manager.c b/src/nautilus-tag-manager.c
index c046c641c..542c16f5a 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]