summaryrefslogtreecommitdiff
path: root/src/sna/sna_video_hwmc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-04-12 14:48:04 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2013-04-12 14:48:38 +0100
commitd68270ca84dc01a930c2ed0c05cecfac88c8cc4b (patch)
treedf655268caffbc2c4b70eae616f413c96e0b5768 /src/sna/sna_video_hwmc.c
parenta64490c794e2e98c77e0c7f9cec6778fd1e06465 (diff)
sna/xvmc: silence a compiler warning
sna_video_hwmc.c: In function 'create_context': sna_video_hwmc.c:95: warning: assignment from incompatible pointer type Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
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;
}