From dbb4d8107a61051d8bcf6c4c69ee976efc50b961 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 20 May 2008 23:06:38 +0200 Subject: Fix some signed/unsigned warnings --- source/librpc/ndr/ndr_string.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/librpc') diff --git a/source/librpc/ndr/ndr_string.c b/source/librpc/ndr/ndr_string.c index 1c0675849cc..e2c9ed59466 100644 --- a/source/librpc/ndr/ndr_string.c +++ b/source/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; -- cgit