PATCH: aliasing problems in ole32

Alexandre Julliard julliard at
Tue Apr 29 18:27:49 CDT 2003

Marcus Meissner <marcus at> writes:

> Changelog:
> 	Fixed some warnings from newer gccs in regards to
> 	pointer aliasing problems by using unions instead of
> 	using (void**)&ptr constructs.

All these unions are ugly IMO, it would be better to use an
intermediate pointer instead, something like:

  void *ptr;
  ISomething *iface;

  iface = ptr;

Alexandre Julliard
julliard at

More information about the wine-devel mailing list