summaryrefslogtreecommitdiffstats
path: root/sys/ximage
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ximage')
-rw-r--r--sys/ximage/gstximagesrc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ximage/gstximagesrc.c b/sys/ximage/gstximagesrc.c
index 720c1e34..95dfae89 100644
--- a/sys/ximage/gstximagesrc.c
+++ b/sys/ximage/gstximagesrc.c
@@ -265,7 +265,7 @@ composite_pixel (GstXContext * xcontext, guchar * dest, guchar * src)
color = *dest;
break;
case 16:
- color = GUINT16_FROM_LE (*(guint32 *) (dest));
+ color = GUINT16_FROM_LE (*(guint16 *) (dest));
break;
case 32:
color = GUINT32_FROM_LE (*(guint32 *) (dest));