git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a6b91
)
Fixed "argument differ in signedness" warning on linux
author
Tim Prouty
<tim.prouty@isilon.com>
Tue, 7 Oct 2008 01:55:21 +0000
(18:55 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Wed, 15 Oct 2008 00:31:07 +0000
(17:31 -0700)
source3/libsmb/async_smb.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/async_smb.c
b/source3/libsmb/async_smb.c
index 68495076b636b34df260c2b85a33ad2792153116..d371e057e370f7d2ab837183114763669ab98e85 100644
(file)
--- 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)));