diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-04-12 14:48:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-04-12 14:48:38 +0100 |
commit | d68270ca84dc01a930c2ed0c05cecfac88c8cc4b (patch) | |
tree | df655268caffbc2c4b70eae616f413c96e0b5768 | |
parent | a64490c794e2e98c77e0c7f9cec6778fd1e06465 (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>
-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; } |