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 | e2d8b0a7923f52cf2be1c3a14f6390aea9c06fe7 (patch) | |
tree | ef2bfe24f6e994e273df28163fb07a5f11b146bf /source3 | |
parent | fb37f156009611af0dd454a0fb0829a09cd638ac (diff) | |
download | samba-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')
-rw-r--r-- | source3/librpc/ndr/ndr_string.c | 3 | ||||
-rw-r--r-- | source3/libsmb/clirap.c | 2 |
2 files changed, 3 insertions, 2 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; diff --git a/source3/libsmb/clirap.c b/source3/libsmb/clirap.c index cf4f4987cf..61e2fb7f1a 100644 --- a/source3/libsmb/clirap.c +++ b/source3/libsmb/clirap.c @@ -865,7 +865,7 @@ bool cli_qpathinfo_streams(struct cli_state *cli, const char *fname, while ((data_len > ofs) && (data_len - ofs >= 24)) { uint32_t nlen, len; - ssize_t size; + size_t size; void *vstr; struct stream_struct *tmp; uint8_t *tmp_buf; |