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:
Carsten Haitzler 2017-02-12 15:39:48 +09:00 committed by Mike Blumenkrantz
parent a2ce9c054a
commit 279bea35e4
1 changed files with 1 additions and 1 deletions

View File

@ -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);