tracker r2800 - in trunk: . src/libtracker-db
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2800 - in trunk: . src/libtracker-db
- Date: Fri, 16 Jan 2009 11:22:36 +0000 (UTC)
Author: carlosg
Date: Fri Jan 16 11:22:36 2009
New Revision: 2800
URL: http://svn.gnome.org/viewvc/tracker?rev=2800&view=rev
Log:
2009-01-16 Carlos Garnacho <carlos imendio com>
* src/libtracker-db/tracker-db-index.c (indexer_update_word): Define
pivots as gint, as we can potentially underflow the right pivot with
guint.
Modified:
trunk/ChangeLog
trunk/src/libtracker-db/tracker-db-index.c
Modified: trunk/src/libtracker-db/tracker-db-index.c
==============================================================================
--- trunk/src/libtracker-db/tracker-db-index.c (original)
+++ trunk/src/libtracker-db/tracker-db-index.c Fri Jan 16 11:22:36 2009
@@ -592,7 +592,7 @@
old_hit_count = tsiz / sizeof (TrackerDBIndexItem);
for (j = 0; j < new_hits->len; j++) {
- guint left, right, center;
+ gint left, right, center;
new_hit = &g_array_index (new_hits, TrackerDBIndexItem, j);
edited = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]