diff options
author | Mads Martin Joergensen <mmj@suse.de> | 2003-09-19 13:03:25 +0000 |
---|---|---|
committer | Mads Martin Joergensen <mmj@suse.de> | 2003-09-19 13:03:25 +0000 |
commit | 2906c00a823a60e82bb2cb3f52e07eae3c3e5b14 (patch) | |
tree | c7a391f3b1a2de0b3f20b08f648eb3f371a027d9 /color.c | |
parent | d6e5143a0e5020762c53822e553ca9c8e74c8b93 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; } |