summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 2052d5a1bc..5bb33b11d7 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -1877,7 +1877,7 @@ static krb5_error_code ads_krb5_get_fwd_ticket( krb5_context context,
(APPLICATION 22) so that we can pack it on the end of the structure.
*/
- pChksum = SMB_MALLOC(GSSAPI_CHECKSUM_SIZE + fwdData.length );
+ pChksum = (char *)SMB_MALLOC(GSSAPI_CHECKSUM_SIZE + fwdData.length );
if (!pChksum) {
retval = ENOMEM;
goto out;