diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2020-05-23 12:29:01 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2020-05-23 12:29:01 +0200 |
commit | ef9ed0435f95c8378ce08c418e4fa7e2ab6fc971 (patch) | |
tree | 3c719e11c17558b27081a51a182549c4ee89889c /src/libtracker-sparql/tracker-resource.c | |
parent | c4585b62cbcb94d4a643cb3899c6e03d17f6e65c (diff) | |
download | tracker-ef9ed0435f95c8378ce08c418e4fa7e2ab6fc971.tar.gz |
libtracker-sparql: Add cast to fix compile warning
Diffstat (limited to 'src/libtracker-sparql/tracker-resource.c')
-rw-r--r-- | src/libtracker-sparql/tracker-resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtracker-sparql/tracker-resource.c b/src/libtracker-sparql/tracker-resource.c index 9f83e440c..003d50f90 100644 --- a/src/libtracker-sparql/tracker-resource.c +++ b/src/libtracker-sparql/tracker-resource.c @@ -1838,7 +1838,7 @@ tracker_resource_serialize (TrackerResource *resource) /* Use a stable sort, so that GVariants are byte compatible */ properties = tracker_resource_get_properties (resource); - properties = g_list_sort (properties, g_strcmp0); + properties = g_list_sort (properties, (GCompareFunc) g_strcmp0); for (l = properties; l; l = l->next) { pred = l->data; |