diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 15:39:48 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 16:25:35 +0900 |
commit | 3e95380edbe2e5fa4480e216b51ddffad655dc8a (patch) | |
tree | b098a70c15de9474377f436e5f309ae09792752f | |
parent | 7d5db07a7514a66b779cfd1a56d49c0248198d88 (diff) | |
download | enlightenment-3e95380edbe2e5fa4480e216b51ddffad655dc8a.tar.gz |
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
-rw-r--r-- | src/bin/e_fm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index b20371f59e..b7d4069b9c 100644 --- a/src/bin/e_fm.c +++ b/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); |