summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_hwmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/sna_video_hwmc.c')
-rw-r--r--src/sna/sna_video_hwmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_hwmc.c b/src/sna/sna_video_hwmc.c
index 573fda58..55aa8546 100644
--- a/src/sna/sna_video_hwmc.c
+++ b/src/sna/sna_video_hwmc.c
@@ -92,7 +92,7 @@ static int create_context(XvPortPtr port, XvMCContextPtr ctx,
priv->type = XVMC_I915_MPEG2_MC;
*size = sizeof(*priv) >> 2;
- *out = priv;
+ *out = (CARD32 *)priv;
return Success;
}