[SCM] Samba Shared Repository - branch master updated - 16bbfc22629ea9e9aebc6164cae28a6b031cd9e0

Tim Prouty tprouty at samba.org
Wed Oct 15 00:34:25 GMT 2008


The branch, master has been updated
       via  16bbfc22629ea9e9aebc6164cae28a6b031cd9e0 (commit)
      from  98a6b91da57ba71a0fe971cb24b1647d5f0062e8 (commit)

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


- Log -----------------------------------------------------------------
commit 16bbfc22629ea9e9aebc6164cae28a6b031cd9e0
Author: Tim Prouty <tim.prouty at isilon.com>
Date:   Mon Oct 6 18:55:21 2008 -0700

    Fixed "argument differ in signedness" warning on linux

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

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 6849507..d371e05 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)));


-- 
Samba Shared Repository


More information about the samba-cvs mailing list