forked from enlightenment/enlightenment
efm - fix warnings for progress time display
the code is right - data is aligned, but gcc doesn't know this, so silence it with void * cast
This commit is contained in:
parent
a2ce9c054a
commit
279bea35e4
|
@ -3223,7 +3223,7 @@ e_fm2_client_data(Ecore_Ipc_Event_Client_Data *e)
|
|||
|
||||
if (!e->data) return;
|
||||
|
||||
#define UP(value, type) (value) = *(type *)p; p += sizeof(type)
|
||||
#define UP(value, type) (value) = *(type *)(void *)p; p += sizeof(type)
|
||||
UP(percent, int);
|
||||
UP(seconds, int);
|
||||
UP(done, off_t);
|
||||
|
|
Loading…
Reference in New Issue