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



commit 389fabcf963c4d15d2cce3b20e6c3d5d934dc14a
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]