summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-01-14 15:54:33 +0100
committerJürg Billeter <j@bitron.ch>2010-01-14 16:00:58 +0100
commit4c37298eefc2bceb05471c5cd23fdb872e2d343c (patch)
tree1b88333e879458fe7504c74b5108ca05428b6d50 /tests
parent55c463ef9e2983c2a70627db5493cd3120be1632 (diff)
downloadtracker-4c37298eefc2bceb05471c5cd23fdb872e2d343c.tar.gz
Use gint for resource IDs
This fixes deleting Uri values from database as SQLite does not distinguish between signed and unsigned integer.
Diffstat (limited to 'tests')
-rw-r--r--tests/libtracker-db/tracker-db-journal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtracker-db/tracker-db-journal.c b/tests/libtracker-db/tracker-db-journal.c
index 427a271ed..a97bd6cdf 100644
--- a/tests/libtracker-db/tracker-db-journal.c
+++ b/tests/libtracker-db/tracker-db-journal.c
@@ -136,7 +136,7 @@ test_read_functions (void)
gchar *path;
gboolean result;
TrackerDBJournalEntryType type;
- guint32 id, s_id, p_id, o_id;
+ gint id, s_id, p_id, o_id;
const gchar *uri, *str;
path = g_build_filename (TOP_SRCDIR, "tests", "libtracker-db", "tracker-store.journal", NULL);