[tracker/sparql-update: 15/23] libtracker-data: The guint here is a gint
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sparql-update: 15/23] libtracker-data: The guint here is a gint
- Date: Mon, 21 Mar 2011 11:20:32 +0000 (UTC)
commit 5848169cee47fee7b71c2da5c2f4be72f9b6df1a
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 325eff9..4e95ed1 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2608,7 +2608,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;
@@ -2624,7 +2624,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);
@@ -2651,7 +2651,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]