mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
squash clang warning about increased alignment requirements.
This commit is contained in:
parent
1a8fdb1462
commit
83512a6ff5
@ -33,7 +33,8 @@ convert_alpha(guchar *dest_data,
|
||||
int x, y;
|
||||
|
||||
for (y = 0; y < height; y++) {
|
||||
guint32 *src = (guint32 *) src_data;
|
||||
/* this cast is safe, the buffer is appropriately aligned */
|
||||
guint32 *src = (void *) src_data;
|
||||
|
||||
for (x = 0; x < width; x++) {
|
||||
guint alpha = src[x] >> 24;
|
||||
|
Loading…
Reference in New Issue
Block a user