[tracker/tracker-0.10] libtracker-data: The guint here is a gint



commit 2025deb90246ed62875fa16109127159073282ab
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 503496c..9a60b69 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2643,7 +2643,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;
@@ -2659,7 +2659,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);
@@ -2686,7 +2686,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]