summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_compression.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 11:07:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 11:07:38 +0200
commit70eba79edb3cba9432508ff3c439200e980f9468 (patch)
tree7c1bee4412410a52799d243cc71e5ae456a31cc1 /librpc/ndr/ndr_compression.c
parent86576f0f1627bf799e422d16baac5a7057de0316 (diff)
parent221ea78e2e1688f2e79703784b3d1d1a68057604 (diff)
downloadsamba-70eba79edb3cba9432508ff3c439200e980f9468.tar.gz
samba-70eba79edb3cba9432508ff3c439200e980f9468.tar.bz2
samba-70eba79edb3cba9432508ff3c439200e980f9468.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into selftest
Diffstat (limited to 'librpc/ndr/ndr_compression.c')
-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;