diff options
author | Volker Lendecke <vl@samba.org> | 2018-03-26 12:00:40 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2018-03-28 13:03:25 +0200 |
commit | 360804ed4f7d3ab7375ba68885fed4584ef0a438 (patch) | |
tree | 09d0bbeaa9303991503ab9e7c3cf52f6eb5f0c9d | |
parent | 4e0cf2fa766eed922e86428b2ecdf3da0a27bc9b (diff) | |
download | samba-360804ed4f7d3ab7375ba68885fed4584ef0a438.tar.gz |
ndr_string: Fix a signed/unsigned glitch
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
-rw-r--r-- | librpc/ndr/ndr_string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/ndr_string.c b/librpc/ndr/ndr_string.c index 067f91781ee..42ba3cfccc1 100644 --- a/librpc/ndr/ndr_string.c +++ b/librpc/ndr/ndr_string.c @@ -636,7 +636,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_charset_to_null(struct ndr_pull *ndr, int nd _PUBLIC_ enum ndr_err_code ndr_push_charset(struct ndr_push *ndr, int ndr_flags, const char *var, uint32_t length, uint8_t byte_mul, charset_t chset) { - ssize_t required; + size_t required; if (NDR_BE(ndr) && chset == CH_UTF16) { chset = CH_UTF16BE; |