From: Jaakko Heinonen Date: Fri, 29 Jul 2005 06:28:55 +0000 (+0000) Subject: - remove unnecessary cast X-Git-Tag: upstream/0.6.1~2^2~195 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=6582d4019279f26d3644e89dd43ae9b636eca106;p=pkg%2Fabook.git - remove unnecessary cast --- diff --git a/ldif.c b/ldif.c index ab74cdf..56e4d26 100644 --- a/ldif.c +++ b/ldif.c @@ -335,7 +335,7 @@ ldif_type_and_value(char *type, char *val, int vlen) if((bufsize = t + 1) <= t) return NULL; - if((buf = (char *) malloc(bufsize)) == NULL) { + if((buf = malloc(bufsize)) == NULL) { return NULL; }