summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 15:26:05 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-02-12 16:25:35 +0900
commitdd4cd1ce73d68dbf34ceca89b6b1e9c3255cb77e (patch)
treee6e31d52ad4ed37a47605dae56a08db455bbf9e4
parent8c87fe514dcfd41b3b69ad60421bf15dddea46d7 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_thumb.c b/src/bin/e_thumb.c
index 8a0e40ea4..8f4c0398b 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,
366 // [char[]]sig2 366 // [char[]]sig2
367 // [char[]]src2 367 // [char[]]src2
368 // ... 368 // ...
369 desk = (int *)buf; 369 desk = (int *)(void *)buf;
370 desk[0] = desk_x; 370 desk[0] = desk_x;
371 desk[1] = desk_y; 371 desk[1] = desk_y;
372 desk[2] = desk_x_count; 372 desk[2] = desk_x_count;