remove malloc casts
[openssl.git] / demos / b64.c
index fcc69562c134afa33fa109d95d45ffa8c101b4c6..2fa4e980cee327f395dcabed673f18f032359dee 100644 (file)
@@ -169,7 +169,7 @@ char **argv;
     }
 
     strbuf = OPENSSL_malloc(SIZE);
-    buff = (unsigned char *)OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
+    buff = OPENSSL_malloc(EVP_ENCODE_LENGTH(bsize));
     if ((buff == NULL) || (strbuf == NULL)) {
         BIO_printf(bio_err, "OPENSSL_malloc failure\n");
         goto end;