diff options
author | Volker Lendecke <vl@samba.org> | 2008-05-20 23:06:38 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-20 23:06:38 +0200 |
commit | dbb4d8107a61051d8bcf6c4c69ee976efc50b961 (patch) | |
tree | 1be46261eb422fa11a6b9cc50de410a09c35a332 /source/librpc | |
parent | 6b189dabc562d86dcaa685419d0cb6ea276f100d (diff) | |
download | samba-dbb4d8107a61051d8bcf6c4c69ee976efc50b961.tar.gz samba-dbb4d8107a61051d8bcf6c4c69ee976efc50b961.tar.xz samba-dbb4d8107a61051d8bcf6c4c69ee976efc50b961.zip |
Fix some signed/unsigned warnings
Diffstat (limited to 'source/librpc')
-rw-r--r-- | source/librpc/ndr/ndr_string.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |