[PATCH] fix broken strict aliasing

Marc Lehmann schmorp at schmorp.de
Fri Feb 19 18:21:15 CET 2010

On Thu, Feb 18, 2010 at 09:04:35PM +0600, "Denis F. Latypoff" <denis at gostats.ru> wrote:
> Hello Libev,
>   The attached patch fixes broken strict aliasing in ev_timer_set()
>   and ev_periodic_at() macros.

the attached fix obviously doesn't fix anything, it just adds an
unnecessary cast.

maybe you should describe the problem you encountered or believe to have
encountered? because if your an into an aliasing issue, then your patch
will not fix it and at best hide it, making it rather dangerous.

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list