Hello Libev,
Just found yet another potentially broken strict aliasing rules in
ev.c
--
Best regards,
Denis mailto:[email protected]
Index: ev.c
===================================================================
RCS file: /schmorpforge/libev/ev.c,v
retrieving revision 1.329
diff -u -r1.329 ev.c
--- ev.c 16 Feb 2010 09:32:39 -0000 1.329
+++ ev.c 18 Feb 2010 15:10:03 -0000
@@ -2453,7 +2453,7 @@
{
if (w->pending)
{
- pendings [ABSPRI (w)][w->pending - 1].w = (W)&pending_w;
+ pendings [ABSPRI (w)][w->pending - 1].w = (W)(void *)&pending_w;
w->pending = 0;
}
}
@@ -2467,7 +2467,7 @@
if (expect_true (pending))
{
ANPENDING *p = pendings [ABSPRI (w_)] + pending - 1;
- p->w = (W)&pending_w;
+ p->w = (W)(void *)&pending_w;
w_->pending = 0;
return p->events;
}
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev