On Thu, 12 Feb 2009 09:05:17 -0800 "Enlightenment SVN" <[email protected]> said:
:):):) > Log: > * evas/lib/canvas/evas_async_events.c: Use memset instead of PACKED. > > > Author: cedric > Date: 2009-02-12 09:05:17 -0800 (Thu, 12 Feb 2009) > New Revision: 39003 > > Modified: > trunk/evas/src/lib/canvas/evas_async_events.c > > Modified: trunk/evas/src/lib/canvas/evas_async_events.c > =================================================================== > --- trunk/evas/src/lib/canvas/evas_async_events.c 2009-02-12 13:39:43 > UTC (rev 39002) +++ trunk/evas/src/lib/canvas/evas_async_events.c > 2009-02-12 17:05:17 UTC (rev 39003) @@ -21,7 +21,7 @@ > void *event_info; > void (*func)(void *target, Evas_Callback_Type > type, void *event_info); Evas_Callback_Type type; > -} __PACKED__ ; > +}; > > #endif > > @@ -135,6 +135,8 @@ > if (!func) return 0; > if (_fd_write == -1) return 0; > > + memset(&new, 0, sizeof (new)); > + > new.func = func; > new.target = target; > new.type = type; > > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
