diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 15:26:05 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2017-02-12 16:25:35 +0900 |
commit | dd4cd1ce73d68dbf34ceca89b6b1e9c3255cb77e (patch) | |
tree | e6e31d52ad4ed37a47605dae56a08db455bbf9e4 | |
parent | 8c87fe514dcfd41b3b69ad60421bf15dddea46d7 (diff) | |
download | enlightenment-dd4cd1ce73d68dbf34ceca89b6b1e9c3255cb77e.tar.gz |
e thumb - silence alignment warning - valid code
the code is right as the int array is at the start of the allocation
that should be aligned to all types anyway. but it's noise that
distracts.
-rw-r--r-- | src/bin/e_thumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c index 8a0e40ea40..8f4c0398bc 100644 --- a/src/bin/e_thumb.c +++ b/src/bin/e_thumb.c @@ -366,7 +366,7 @@ _e_thumb_gen_begin(int objid, const char *file, const char *key, int w, int h, // [char[]]sig2 // [char[]]src2 // ... - desk = (int *)buf; + desk = (int *)(void *)buf; desk[0] = desk_x; desk[1] = desk_y; desk[2] = desk_x_count; |