]> git.deb.at Git - pkg/abook.git/blobdiff - misc.c
editor update
[pkg/abook.git] / misc.c
diff --git a/misc.c b/misc.c
index 1213dd57297d734797f3cc1c6d5ab3de91b1e2e1..4bf1f60e6635638fb3474e57c65e2c5a5ed02cb2 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -2,7 +2,7 @@
 /*
  * $Id$
  *
- * by JH <jheinonen@bigfoot.com>
+ * by JH <jheinonen@users.sourceforge.net>
  *
  * Copyright (C) Jaakko Heinonen
  */
@@ -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);