summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 15:39:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commit3e95380edbe2e5fa4480e216b51ddffad655dc8a (patch)
treeb098a70c15de9474377f436e5f309ae09792752f
parent7d5db07a7514a66b779cfd1a56d49c0248198d88 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c
index b20371f59..b7d4069b9 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)
3223 3223
3224 if (!e->data) return; 3224 if (!e->data) return;
3225 3225
3226#define UP(value, type) (value) = *(type *)p; p += sizeof(type) 3226#define UP(value, type) (value) = *(type *)(void *)p; p += sizeof(type)
3227 UP(percent, int); 3227 UP(percent, int);
3228 UP(seconds, int); 3228 UP(seconds, int);
3229 UP(done, off_t); 3229 UP(done, off_t);