Show
Ignore:
Timestamp:
2003-09-19 06:03:25 (5 years ago)
Author:
Mads Martin Joergensen <mmj@…>
Branch:
HEAD
Message:

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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • compose.c

    r3393 r3480  
    754754        if (idxlen == idxmax) 
    755755        { 
    756           safe_realloc ((void **) &idx, sizeof (ATTACHPTR *) * (idxmax += 5)); 
     756          safe_realloc (&idx, sizeof (ATTACHPTR *) * (idxmax += 5)); 
    757757          menu->data = idx; 
    758758        } 
     
    801801          if (idxlen + numfiles >= idxmax) 
    802802          { 
    803             safe_realloc ((void **) &idx, sizeof (ATTACHPTR *) * (idxmax += 5 + numfiles)); 
     803            safe_realloc (&idx, sizeof (ATTACHPTR *) * (idxmax += 5 + numfiles)); 
    804804            menu->data = idx; 
    805805          } 
     
    900900          if (idxlen + Context->tagged >= idxmax) 
    901901          { 
    902             safe_realloc ((void **) &idx, sizeof (ATTACHPTR *) * (idxmax += 5 + Context->tagged)); 
     902            safe_realloc (&idx, sizeof (ATTACHPTR *) * (idxmax += 5 + Context->tagged)); 
    903903            menu->data = idx; 
    904904          } 
     
    11691169          if (idxlen == idxmax) 
    11701170          { 
    1171             safe_realloc ((void **) &idx, sizeof (ATTACHPTR *) * (idxmax += 5)); 
     1171            safe_realloc (&idx, sizeof (ATTACHPTR *) * (idxmax += 5)); 
    11721172            menu->data = idx; 
    11731173          }