summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-20 23:06:38 +0200
committerVolker Lendecke <vl@samba.org>2008-05-20 23:06:38 +0200
commite2d8b0a7923f52cf2be1c3a14f6390aea9c06fe7 (patch)
treeef2bfe24f6e994e273df28163fb07a5f11b146bf /source3/librpc
parentfb37f156009611af0dd454a0fb0829a09cd638ac (diff)
downloadsamba-e2d8b0a7923f52cf2be1c3a14f6390aea9c06fe7.tar.gz
samba-e2d8b0a7923f52cf2be1c3a14f6390aea9c06fe7.tar.bz2
samba-e2d8b0a7923f52cf2be1c3a14f6390aea9c06fe7.zip
Fix some signed/unsigned warnings
(This used to be commit dbb4d8107a61051d8bcf6c4c69ee976efc50b961)
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/ndr/ndr_string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/librpc/ndr/ndr_string.c b/source3/librpc/ndr/ndr_string.c
index 1c0675849c..e2c9ed5946 100644
--- a/source3/librpc/ndr/ndr_string.c
+++ b/source3/librpc/ndr/ndr_string.c
@@ -315,7 +315,8 @@ _PUBLIC_ enum ndr_err_code ndr_pull_string(struct ndr_pull *ndr, int ndr_flags,
*/
_PUBLIC_ enum ndr_err_code ndr_push_string(struct ndr_push *ndr, int ndr_flags, const char *s)
{
- ssize_t s_len, c_len, d_len;
+ ssize_t s_len, c_len;
+ size_t d_len;
int chset = CH_UTF16;
unsigned flags = ndr->flags;
unsigned byte_mul = 2;