]> git.deb.at Git - pkg/abook.git/commitdiff
- remove unnecessary cast
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 29 Jul 2005 06:28:55 +0000 (06:28 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Fri, 29 Jul 2005 06:28:55 +0000 (06:28 +0000)
ldif.c

diff --git a/ldif.c b/ldif.c
index ab74cdf749a3578a9abfb5b4910f5cfd61ee3a00..56e4d26bcf680a1fda4873c46eee0eed41a554d3 100644 (file)
--- 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;
        }