]> git.deb.at Git - pkg/abook.git/blobdiff - misc.c
Minor cast fixes
[pkg/abook.git] / misc.c
diff --git a/misc.c b/misc.c
index 1213dd57297d734797f3cc1c6d5ab3de91b1e2e1..225d1563f9e048b981bff605bb7283e6ad9c189e 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -232,7 +232,7 @@ getaline(FILE *f)
 
        len = 0;
        size = thres;
-       buf = abook_malloc(size);
+       buf = (char *)abook_malloc(size);
 
        while (fgets(buf+len, size-len, f) != NULL) {
                len += strlen(buf+len);