[evolution-ews] Fix printf format warning in lzxd.c (again)
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix printf format warning in lzxd.c (again)
- Date: Mon, 11 Jul 2011 21:08:25 +0000 (UTC)
commit 2798b0d8bd1976ceb0e7ce294f298e876cac25c9
Author: David Woodhouse <David Woodhouse intel com>
Date: Mon Jul 11 14:07:11 2011 -0700
Fix printf format warning in lzxd.c (again)
lzxd.c: In function 'lzxd_decompress':
lzxd.c:696:7: error: format '%d' expects type 'int', but argument 2 has type 'long int'
src/addressbook/lzx/lzxd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/lzx/lzxd.c b/src/addressbook/lzx/lzxd.c
index 338e5e4..0312ba1 100644
--- a/src/addressbook/lzx/lzxd.c
+++ b/src/addressbook/lzx/lzxd.c
@@ -693,7 +693,7 @@ int lzxd_decompress(struct lzxd_stream *lzx, off_t out_bytes) {
/* check that we've used all of the previous frame first */
if (lzx->o_ptr != lzx->o_end) {
- D(("%d avail bytes, new %d frame", lzx->o_end-lzx->o_ptr, frame_size))
+ D(("%d avail bytes, new %d frame", (int)(lzx->o_end-lzx->o_ptr), frame_size))
return lzx->error = LZX_ERR_DECRUNCH;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]