[openbox] Bug in kernel/event.c ob3-a6?

Ben Jansens ben at orodu.net
Wed Aug 27 01:20:57 EDT 2003


On Wed, Aug 27, 2003 at 12:08:40AM +0200, Mads Martin Joergensen wrote:
> Hey together,
> 
> I was fixing up the "dereferencing type-punned pointer will break
> strict-aliasing rules" warnings (patch in other mail), and came
> across this is kernel/event.c
> 
> Since e is already passed on in the function like this:
> 
> static Window event_get_window(XEvent *e)
> 
> I doubt it should be referenced again? It could be a cut'n'paste error
> from the function above where XEvent e; is used. This patch fixes if
> it's a bug:

Thanks, its fixed. Could you please use the bugzilla for this stuff rather
than the mailing list though?

Thanks,
Ben
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://icculus.org/pipermail/openbox/attachments/20030827/5f0426ba/attachment.pgp>


More information about the openbox mailing list