summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-19 22:37:27 +0200
committerVolker Lendecke <vl@samba.org>2008-10-19 22:37:27 +0200
commitc4dc548171ba27b741669e364839a3c8e507be96 (patch)
treefac61eed1b46ad82d1edc78204d817e788824d57
parent2883c88ae46d3957564660213471e1d6f94cdb04 (diff)
downloadsamba-c4dc548171ba27b741669e364839a3c8e507be96.tar.gz
samba-c4dc548171ba27b741669e364839a3c8e507be96.tar.bz2
samba-c4dc548171ba27b741669e364839a3c8e507be96.zip
Fix 64-bit printf warnings
-rw-r--r--librpc/ndr/ndr_compression.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/librpc/ndr/ndr_compression.c b/librpc/ndr/ndr_compression.c
index afd397e2a2..c73c3bb6fa 100644
--- a/librpc/ndr/ndr_compression.c
+++ b/librpc/ndr/ndr_compression.c
@@ -260,7 +260,9 @@ static enum ndr_err_code ndr_push_compression_mszip_chunk(struct ndr_push *ndrpu
ndrpush->offset = tmp_offset;
DEBUG(9,("MSZIP comp plain_chunk_size: %08X (%u) comp_chunk_size: %08X (%u)\n",
- plain_chunk.length, plain_chunk.length, comp_chunk_size, comp_chunk_size));
+ (unsigned int)plain_chunk.length,
+ (unsigned int)plain_chunk.length,
+ comp_chunk_size, comp_chunk_size));
ndrpush->offset += comp_chunk_size;
return NDR_ERR_SUCCESS;
@@ -307,7 +309,7 @@ static enum ndr_err_code ndr_pull_compression_xpress_chunk(struct ndr_pull *ndrp
if (ret < 0) {
return ndr_pull_error(ndrpull, NDR_ERR_COMPRESSION,
"XPRESS lzxpress_decompress() returned %d\n",
- ret);
+ (int)ret);
}
plain_chunk.length = ret;
@@ -361,7 +363,7 @@ static enum ndr_err_code ndr_push_compression_xpress_chunk(struct ndr_push *ndrp
if (ret < 0) {
return ndr_pull_error(ndrpull, NDR_ERR_COMPRESSION,
"XPRESS lzxpress_compress() returned %d\n",
- ret);
+ (int)ret);
}
comp_chunk.length = ret;