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
7d5db07a75
commit
3e95380edb
|
@ -3223,7 +3223,7 @@ e_fm2_client_data(Ecore_Ipc_Event_Client_Data *e)
|
||||||
|
|
||||||
if (!e->data) return;
|
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(percent, int);
|
||||||
UP(seconds, int);
|
UP(seconds, int);
|
||||||
UP(done, off_t);
|
UP(done, off_t);
|
||||||
|
|
Loading…
Reference in New Issue