summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorMads Martin Joergensen <mmj@suse.de>2003-09-19 13:03:25 +0000
committerMads Martin Joergensen <mmj@suse.de>2003-09-19 13:03:25 +0000
commit2906c00a823a60e82bb2cb3f52e07eae3c3e5b14 (patch)
treec7a391f3b1a2de0b3f20b08f648eb3f371a027d9 /lib.h
parentd6e5143a0e5020762c53822e553ca9c8e74c8b93 (diff)
As the ones of you who compile with new gcc's probably have noticed,
there's a lot of type-punning in Mutt. With help from Philipp Thomas, I've fixed all I could find in CVS (please double-check, one might have slipped through the cracks), I can make one for 1.4 CVS branch as well if wanted.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib.h b/lib.h
index d38a5f78..6e006836 100644
--- a/lib.h
+++ b/lib.h
@@ -76,7 +76,7 @@
# define MUTT_FORMAT2(a,b) _MUTT_FORMAT_1(a, b)
-# define FREE(x) safe_free((void **)x)
+# define FREE(x) safe_free(x)
# define NONULL(x) x?x:""
# define ISSPACE(c) isspace((unsigned char)c)
# define strfcpy(A,B,C) strncpy(A,B,C), *(A+(C)-1)=0
@@ -143,7 +143,7 @@ void mutt_sanitize_filename (char *, short);
void mutt_str_replace (char **p, const char *s);
void mutt_str_adjust (char **p);
void mutt_unlink (const char *);
-void safe_free (void **);
-void safe_realloc (void **, size_t);
+void safe_free (void *);
+void safe_realloc (void *, size_t);
#endif