+2007-04-07 16:13 -0700 Fabian Groffen <grobian@gentoo.org> (779befaca281)
+
+ * hcache.c: Fix compiler warnings
+
+2007-04-07 16:05 -0700 Jukka Salmi <jukka@salmi.ch> (ef35baf2a2d0)
+
+ * configure.ac: Fix BDB autoconf buglet introduced in
+ [3638701db407]
+
2007-04-07 15:21 -0700 Michael Elkins <me@mutt.org> (70e637e40943)
* enter.c: add "|" to the list of shell chars
rc = imap_cmd_step (idata);
if (rc != IMAP_CMD_CONTINUE)
{
- imap_free_header_data ((void**) &h.data);
+ /* suppress GCC aliasing warning */
+ imap_free_header_data ((void**) (void*) &h.data);
break;
}
continue;
else if (mfhrc < 0)
{
- imap_free_header_data ((void**) &h.data);
+ imap_free_header_data ((void**) (void*) &h.data);
break;
}
else
/* bad header in the cache, we'll have to refetch.
* TODO: consider the possibility of a holey cache. */
- imap_free_header_data((void**) &h.data);
+ imap_free_header_data((void**) (void*) &h.data);
}
while (rc != IMAP_CMD_OK && mfhrc == -1);
if (rc == IMAP_CMD_OK)
if ((mfhrc < -1) || ((rc != IMAP_CMD_CONTINUE) && (rc != IMAP_CMD_OK)))
{
if (h.data)
- imap_free_header_data ((void**) &h.data);
+ imap_free_header_data ((void**) (void*) &h.data);
fclose (fp);
return -1;
}
if ((mfhrc < -1) || ((rc != IMAP_CMD_CONTINUE) && (rc != IMAP_CMD_OK)))
{
if (h.data)
- imap_free_header_data ((void**) &h.data);
+ imap_free_header_data ((void**) (void*) &h.data);
fclose (fp);
return -1;
}
{
offset = buf->dptr - buf->data;
buf->dsize += len < 128 ? 128 : len + 1;
- safe_realloc ((void**) &buf->data, buf->dsize);
+ /* suppress compiler aliasing warning */
+ safe_realloc ((void**) (void*) &buf->data, buf->dsize);
buf->dptr = buf->data + offset;
}
memcpy (buf->dptr, s, len);