diff options
author | Tim Prouty <tim.prouty@isilon.com> | 2008-10-06 18:55:21 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-10-14 17:31:07 -0700 |
commit | 16bbfc22629ea9e9aebc6164cae28a6b031cd9e0 (patch) | |
tree | 2ff20ed2d8c86357324c093ca861a815aa91e464 /source3/libsmb | |
parent | 98a6b91da57ba71a0fe971cb24b1647d5f0062e8 (diff) | |
download | samba-16bbfc22629ea9e9aebc6164cae28a6b031cd9e0.tar.gz samba-16bbfc22629ea9e9aebc6164cae28a6b031cd9e0.tar.bz2 samba-16bbfc22629ea9e9aebc6164cae28a6b031cd9e0.zip |
Fixed "argument differ in signedness" warning on linux
Diffstat (limited to 'source3/libsmb')
-rw-r--r-- | source3/libsmb/async_smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c index 68495076b6..d371e057e3 100644 --- a/source3/libsmb/async_smb.c +++ b/source3/libsmb/async_smb.c @@ -697,7 +697,7 @@ NTSTATUS cli_pull_reply(struct async_req *req, */ -static NTSTATUS validate_smb_crypto(struct cli_state *cli, uint8_t *pdu) +static NTSTATUS validate_smb_crypto(struct cli_state *cli, char *pdu) { NTSTATUS status; @@ -710,7 +710,7 @@ static NTSTATUS validate_smb_crypto(struct cli_state *cli, uint8_t *pdu) if (cli_encryption_on(cli) && CVAL(pdu, 0) == 0) { uint16_t enc_ctx_num; - status = get_enc_ctx_num(pdu, &enc_ctx_num); + status = get_enc_ctx_num((uint8_t *)pdu, &enc_ctx_num); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("get_enc_ctx_num returned %s\n", nt_errstr(status))); |