summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/x11_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x11_image.c b/apps/x11_image.c
index 6392d868..e8cd4455 100644
--- a/apps/x11_image.c
+++ b/apps/x11_image.c
@@ -545,7 +545,7 @@ ximage_convert_rgba8888(PARAMS)
int x, y;
for (y = 0; y < h; y++) {
for (x = 0; x < w; x++) {
- dst[x] = src[x];
+ ((unsigned *)dst)[x] = ((unsigned *)src)[x];
}
dst += dststride;
src += srcstride;