fix build warning.
authorGünther Deschner <gd@samba.org>
Mon, 11 Aug 2008 09:20:38 +0000 (11:20 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 12 Aug 2008 06:19:03 +0000 (08:19 +0200)
Guenther
(cherry picked from commit eb7c3dc2ca92ef7885eef8f89e4397b5df486b65)

source/libsmb/clikrb5.c

index f20723661f53b3abb04e9d4fc3ece1e18b6f1219..d30cc54cce6b9397cdf4b912e6eebe77b084f428 100644 (file)
@@ -1837,7 +1837,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;