[tracker/wip/carlosg/delete-optimizations: 2/2] libtracker-data: Fix code typo




commit 7eff406ed1a55536111b21074a3d85d6119134c9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sat Nov 7 23:13:25 2020 +0100

    libtracker-data: Fix code typo
    
    This was rightfully issuing a compiler warning. Fix the offset being in/out.

 src/libtracker-data/tracker-sparql.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/tracker-sparql.c b/src/libtracker-data/tracker-sparql.c
index 6a914f255..f2b81f695 100644
--- a/src/libtracker-data/tracker-sparql.c
+++ b/src/libtracker-data/tracker-sparql.c
@@ -9459,7 +9459,7 @@ prepare_query (TrackerSparql         *sparql,
                        gdouble datetime;
                        gint offset = 0;
 
-                       datetime = tracker_string_to_date (binding->literal, offset, &inner_error);
+                       datetime = tracker_string_to_date (binding->literal, &offset, &inner_error);
                        if (inner_error) {
                                g_propagate_error (error, inner_error);
                                g_object_unref (stmt);


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