From 2e46ae120517de1d171b7c2b138af1f4c84b4ae9 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Mon, 2 Aug 2010 15:50:23 +0100 Subject: dbx-importer: Fix printf format warning --- plugins/dbx-import/dbx-importer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/dbx-import') diff --git a/plugins/dbx-import/dbx-importer.c b/plugins/dbx-import/dbx-importer.c index d09c97b248..2af13a9cd5 100644 --- a/plugins/dbx-import/dbx-importer.c +++ b/plugins/dbx-import/dbx-importer.c @@ -452,8 +452,8 @@ dbx_read_mail_body (DbxImporter *m, guint32 offset, gint bodyfd) &m->base.error, CAMEL_ERROR, CAMEL_ERROR_GENERIC, "Failed to read mail data from DBX file " - "at offset %x", - offset + sizeof(hdr)); + "at offset %lx", + (long)(offset + sizeof(hdr))); return FALSE; } if (write(bodyfd, buffer, hdr.blocksize) != hdr.blocksize) { -- cgit v1.2.3