[tracker/sparql-update: 15/20] libtracker-data: The guint here is a gint



commit 1c99e404293fbe7ba20f28e84ac6e73e073f1c9a
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Mar 11 18:13:24 2011 +0100

    libtracker-data: The guint here is a gint

 src/libtracker-data/tracker-data-update.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 44b23f1..2cba3a3 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2604,7 +2604,7 @@ tracker_data_update_statement_with_uri (const gchar            *graph,
 
 		change = TRUE;
 	} else {
-		guint old_object_id = 0;
+		gint old_object_id = 0;
 		GValueArray *old_values;
 		gboolean multiple_values;
 		GError *new_error = NULL;
@@ -2620,7 +2620,7 @@ tracker_data_update_statement_with_uri (const gchar            *graph,
 		if (!new_error) {
 			if (old_values->n_values > 0) {
 				/* evel knievel cast */
-				old_object_id = (guint) g_value_get_int64 (g_value_array_get_nth (old_values, 0));
+				old_object_id = (gint) g_value_get_int64 (g_value_array_get_nth (old_values, 0));
 			}
 		} else {
 			g_propagate_error (error, new_error);
@@ -2647,7 +2647,7 @@ tracker_data_update_statement_with_uri (const gchar            *graph,
 					if (!new_error) {
 						if (old_values->n_values > 0) {
 							/* evel knievel cast */
-							old_object_id = (guint) g_value_get_int64 (g_value_array_get_nth (old_values, 0));
+							old_object_id = (gint) g_value_get_int64 (g_value_array_get_nth (old_values, 0));
 						}
 					} else {
 						g_propagate_error (error, new_error);



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