diff options
-rw-r--r-- | src/sna/sna_video_hwmc.c | 2 |
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; } |