aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dbx-import
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 22:50:23 +0800
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 22:51:35 +0800
commit2e46ae120517de1d171b7c2b138af1f4c84b4ae9 (patch)
tree56db2e1e7ded7f30a89f45237738eda7d694e8fc /plugins/dbx-import
parent3696034171889e067b7c9b9e118b9746c1986bcf (diff)
downloadgsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar.gz
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar.bz2
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar.lz
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar.xz
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.tar.zst
gsoc2013-evolution-2e46ae120517de1d171b7c2b138af1f4c84b4ae9.zip
dbx-importer: Fix printf format warning
Diffstat (limited to 'plugins/dbx-import')
-rw-r--r--plugins/dbx-import/dbx-importer.c4
1 files changed, 2 insertions, 2 deletions
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) {