summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@sernet.de>2008-09-17 17:17:51 +0200
committerVolker Lendecke <vl@samba.org>2008-09-17 17:45:17 +0200
commiteeac8d4fbe729830b6daf6ee2e53db277000ffda (patch)
tree5e06d7834e815d63e0f2954187248722a4e6e28f /source3
parentb16a8f31ad7b6434b44e24e96b72d877a7ede356 (diff)
downloadsamba-eeac8d4fbe729830b6daf6ee2e53db277000ffda.tar.gz
samba-eeac8d4fbe729830b6daf6ee2e53db277000ffda.tar.bz2
samba-eeac8d4fbe729830b6daf6ee2e53db277000ffda.zip
Remove a cast -- thanks metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/async_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index d5eac07b48..fb35ecbe1f 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, char *pdu)
+static NTSTATUS validate_smb_crypto(struct cli_state *cli, uint8_t *pdu)
{
NTSTATUS status;
@@ -710,7 +710,7 @@ static NTSTATUS validate_smb_crypto(struct cli_state *cli, char *pdu)
if (cli_encryption_on(cli) && CVAL(pdu, 0) == 0) {
uint16_t enc_ctx_num;
- status = get_enc_ctx_num((uint8_t *)pdu, &enc_ctx_num);
+ status = get_enc_ctx_num(pdu, &enc_ctx_num);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(10, ("get_enc_ctx_num returned %s\n",
nt_errstr(status)));