summaryrefslogtreecommitdiffstats
path: root/color.c
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 /color.c
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 'color.c')
-rw-r--r--color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.c b/color.c
index 134818a5..2d013e73 100644
--- a/color.c
+++ b/color.c
@@ -737,7 +737,7 @@ _mutt_parse_color (BUFFER *buf, BUFFER *s, BUFFER *err,
{
if (q_level >= ColorQuoteSize)
{
- safe_realloc ((void **) &ColorQuote, (ColorQuoteSize += 2) * sizeof (int));
+ safe_realloc (&ColorQuote, (ColorQuoteSize += 2) * sizeof (int));
ColorQuote[ColorQuoteSize-2] = ColorDefs[MT_COLOR_QUOTED];
ColorQuote[ColorQuoteSize-1] = ColorDefs[MT_COLOR_QUOTED];
}