[SCM] Samba Shared Repository - branch master updated -
053da4ba0a52500a41b466812c5901b7d6b2adc0
Günther Deschner
gd at samba.org
Mon Oct 13 10:33:01 GMT 2008
The branch, master has been updated
via 053da4ba0a52500a41b466812c5901b7d6b2adc0 (commit)
from 167feb2c914f40abd7618eff5dd0c9cd80a063b6 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 053da4ba0a52500a41b466812c5901b7d6b2adc0
Author: Günther Deschner <gd at samba.org>
Date: Mon Oct 13 12:32:44 2008 +0200
s3: fix another build warning.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/seal.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c
index 18d8b64..3822ee1 100644
--- a/source3/smbd/seal.c
+++ b/source3/smbd/seal.c
@@ -426,7 +426,7 @@ static NTSTATUS srv_enc_spnego_gss_negotiate(unsigned char **ppdata, size_t *p_d
data_blob_free(&auth_reply);
SAFE_FREE(*ppdata);
- *ppdata = memdup(response.data, response.length);
+ *ppdata = (unsigned char *)memdup(response.data, response.length);
if ((*ppdata) == NULL && response.length > 0) {
status = NT_STATUS_NO_MEMORY;
}
@@ -468,7 +468,7 @@ static NTSTATUS srv_enc_ntlm_negotiate(unsigned char **ppdata, size_t *p_data_si
}
SAFE_FREE(*ppdata);
- *ppdata = memdup(response.data, response.length);
+ *ppdata = (unsigned char *)memdup(response.data, response.length);
if ((*ppdata) == NULL && response.length > 0) {
status = NT_STATUS_NO_MEMORY;
}
@@ -595,7 +595,7 @@ static NTSTATUS srv_enc_spnego_ntlm_auth(connection_struct *conn,
}
SAFE_FREE(*ppdata);
- *ppdata = memdup(response.data, response.length);
+ *ppdata = (unsigned char *)memdup(response.data, response.length);
if ((*ppdata) == NULL && response.length > 0)
return NT_STATUS_NO_MEMORY;
*p_data_size = response.length;
@@ -649,7 +649,7 @@ static NTSTATUS srv_enc_raw_ntlm_auth(connection_struct *conn,
/* Return the raw blob. */
SAFE_FREE(*ppdata);
- *ppdata = memdup(response.data, response.length);
+ *ppdata = (unsigned char *)memdup(response.data, response.length);
if ((*ppdata) == NULL && response.length > 0)
return NT_STATUS_NO_MEMORY;
*p_data_size = response.length;
--
Samba Shared Repository
More information about the samba-cvs
mailing list