[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: Thu, 17 Mar 2011 15:04:30 +0000 (UTC)
commit b5ff47ef4290f7c322e046426d8d6719d3226dfc
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]