From: Enlightenment S. <no-...@en...> - 2009-02-12 17:05:20
|
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; |