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
devs/bu5hm4n/luncher_verbose
Carsten Haitzler 6 years ago
parent 7d5db07a75
commit 3e95380edb
  1. 2
      src/bin/e_fm.c

@ -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…
Cancel
Save