+2003-10-21 Bruno Haible <bruno@clisp.org>
+
+ * message.c (message_list_search): Avoid casting a pointer to a local
+ variable; it violated strict aliasing.
+
2003-10-21 Bruno Haible <bruno@clisp.org>
* write-java.c (mkdir): Redefine on mingw.
{
if (mlp->use_hashtable)
{
- message_ty *mp;
+ void *htable_value;
- if (find_entry (&mlp->htable, msgid, strlen (msgid) + 1, (void **) &mp))
+ if (find_entry (&mlp->htable, msgid, strlen (msgid) + 1, &htable_value))
return NULL;
else
- return mp;
+ return (message_ty *) htable_value;
}
else
{