forked from enlightenment/enlightenment
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.
This commit is contained in:
parent
8c87fe514d
commit
dd4cd1ce73
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue