[PATCH 3/3] tracker: fix wrong printf format usage



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/tracker/grl-tracker.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tracker/grl-tracker.c b/src/tracker/grl-tracker.c
index 0530465..8bd4198 100644
--- a/src/tracker/grl-tracker.c
+++ b/src/tracker/grl-tracker.c
@@ -78,7 +78,7 @@ enum {
     ?urn fts:match '%s' .                                           \
   }                                                                 \
   ORDER BY DESC(nfo:fileLastModified(?urn))                         \
-  OFFSET %i LIMIT %i"
+  OFFSET %u LIMIT %u"
 
 #define TRACKER_BROWSE_CATEGORY_REQUEST "                             \
   SELECT rdf:type(?urn) %s                                            \
@@ -87,7 +87,7 @@ enum {
     ?urn tracker:available ?tr .                                      \
   }                                                                   \
   ORDER BY DESC(nfo:fileLastModified(?urn))                           \
-  OFFSET %i LIMIT %i"
+  OFFSET %u LIMIT %u"
 
 #define TRACKER_METADATA_REQUEST "                                  \
   SELECT %s                                                         \
-- 
1.7.2.3



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]