]> git.deb.at Git - pkg/abook.git/commitdiff
Minor cast fix
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Thu, 16 Aug 2001 12:18:51 +0000 (12:18 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Thu, 16 Aug 2001 12:18:51 +0000 (12:18 +0000)
filter.c

index 99d01a2b5b9c39d7084cd9cd1c2e9c8c6f5bed38..c681af62a84b7d6621fb820a008bf8ff41abe113 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -954,7 +954,7 @@ pine_parse_file(FILE *in)
        
        while(!feof(in)) {
                for(i=2;;i++) {
-                       buf = realloc(buf, i*LINESIZE);
+                       buf = (char *) realloc(buf, i*LINESIZE);
                        if(i==2)
                                strcpy(buf, line);
                        fgets(line, LINESIZE, in);