[tracker/tracker-0.10] libtracker-miner: Change signedness of a field that is used to calculate
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Change signedness of a field that is used to calculate
- Date: Fri, 2 Dec 2011 11:06:27 +0000 (UTC)
commit 5d99397c4ae7c671d936ca61d42e741c5765448d
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Nov 23 15:56:43 2011 +0100
libtracker-miner: Change signedness of a field that is used to calculate
The ABS() where this field was used in had a calculation that could
result in a negative value within the ABS's brackets. Because it's
unrealistic that we'd ever need the value of this field to be larger
than int, we decided to just change it to signed int.
Fixes NB#290165.
src/libtracker-miner/tracker-sparql-buffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-sparql-buffer.c b/src/libtracker-miner/tracker-sparql-buffer.c
index 7cbf387..0e76584 100644
--- a/src/libtracker-miner/tracker-sparql-buffer.c
+++ b/src/libtracker-miner/tracker-sparql-buffer.c
@@ -81,7 +81,7 @@ struct _UpdateArrayData {
GArray *sparql_array;
GArray *error_map;
GPtrArray *bulk_ops;
- guint n_bulk_operations;
+ gint n_bulk_operations;
};
struct _BulkOperationMerge {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]