[tracker/binary-log] libtracker-db: Fix uint32 reading from journal
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/binary-log] libtracker-db: Fix uint32 reading from journal
- Date: Wed, 6 Jan 2010 10:29:43 +0000 (UTC)
commit aea940113e066c5d4087feb66a0e8e6d48b5a358
Author: Jürg Billeter <j bitron ch>
Date: Wed Jan 6 11:19:24 2010 +0100
libtracker-db: Fix uint32 reading from journal
src/libtracker-db/tracker-db-journal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-journal.c b/src/libtracker-db/tracker-db-journal.c
index 01bda30..3a5840e 100644
--- a/src/libtracker-db/tracker-db-journal.c
+++ b/src/libtracker-db/tracker-db-journal.c
@@ -83,7 +83,7 @@ static struct {
} writer;
static guint32
-read_uint32 (const gchar *data)
+read_uint32 (const guint8 *data)
{
return data[0] << 24 |
data[1] << 16 |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]