fix build warning.
authorGünther Deschner <gd@samba.org>
Mon, 11 Aug 2008 09:20:38 +0000 (11:20 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 11 Aug 2008 13:43:52 +0000 (15:43 +0200)
Guenther

source/libsmb/clikrb5.c

index 2052d5a1bcf5699f93fa954de217fd63fde409fe..5bb33b11d75c0dcce004d9fb72d2ab18eca83d3e 100644 (file)
@@ -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;