summaryrefslogtreecommitdiff
path: root/apps/unix/ximage.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/unix/ximage.c')
-rw-r--r--apps/unix/ximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/unix/ximage.c b/apps/unix/ximage.c
index 22e04a41..b37cf544 100644
--- a/apps/unix/ximage.c
+++ b/apps/unix/ximage.c
@@ -440,8 +440,8 @@ static void
ximage_convert_argb8888(PARAMS)
{
int x, y;
- unsigned *s = (unsigned *)src;
- unsigned *d = (unsigned *)dst;
+ unsigned * restrict s = (unsigned * restrict )src;
+ unsigned * restrict d = (unsigned * restrict )dst;
for (y = 0; y < h; y++) {
for (x = 0; x < w; x++) {
d[x] = s[x];