[tracker/compilation-warnings: 9/13] libtracker-data: properly print gint64 value
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/compilation-warnings: 9/13] libtracker-data: properly print gint64 value
- Date: Fri, 16 Dec 2011 12:44:32 +0000 (UTC)
commit dc4faa2addf5e17b832d1691be2c1efce6e4641f
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri Dec 16 12:25:51 2011 +0100
libtracker-data: properly print gint64 value
src/libtracker-data/tracker-db-journal.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-db-journal.c b/src/libtracker-data/tracker-db-journal.c
index a9365c1..a664675 100644
--- a/src/libtracker-data/tracker-db-journal.c
+++ b/src/libtracker-data/tracker-db-journal.c
@@ -1663,8 +1663,8 @@ db_journal_reader_next (JournalReader *jreader, gboolean global_reader, GError *
if ((gint64) entry_size > (gint64) (jreader->end - jreader->entry_begin)) {
g_set_error (error, TRACKER_DB_JOURNAL_ERROR,
TRACKER_DB_JOURNAL_ERROR_DAMAGED_JOURNAL_ENTRY,
- "Damaged journal entry, size %u > %ld (rest of the file)",
- entry_size, jreader->end - jreader->entry_begin);
+ "Damaged journal entry, size %u > %" G_GINT64_FORMAT " (rest of the file)",
+ entry_size, (gint64)(jreader->end - jreader->entry_begin));
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]