[SCM] Samba Shared Repository - branch master updated - eeac8d4fbe729830b6daf6ee2e53db277000ffda

Volker Lendecke vlendec at samba.org
Wed Sep 17 15:42:50 GMT 2008


The branch, master has been updated
       via  eeac8d4fbe729830b6daf6ee2e53db277000ffda (commit)
      from  b16a8f31ad7b6434b44e24e96b72d877a7ede356 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit eeac8d4fbe729830b6daf6ee2e53db277000ffda
Author: Volker Lendecke <vl at sernet.de>
Date:   Wed Sep 17 17:17:51 2008 +0200

    Remove a cast -- thanks metze

-----------------------------------------------------------------------

Summary of changes:
 source3/libsmb/async_smb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/async_smb.c b/source3/libsmb/async_smb.c
index d5eac07..fb35ecb 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)));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list