diff options
author | Thomas DeRensis <tderensis@gmail.com> | 2014-09-10 21:20:32 -0400 |
---|---|---|
committer | Michel Dänzer <michel.daenzer@amd.com> | 2014-09-11 11:30:41 +0900 |
commit | 56c7fb8ada4cd9cf096c6b06a8d368d286d74e68 (patch) | |
tree | 065951a6262e2986b85218c72eb4afbab3d6d831 /src/radeon_video.c | |
parent | b9a9b244336ed50d7df4f36135f875a3bb6ca948 (diff) |
radeon: fix build warnings regarding const qualifier
Signed-off-by: Thomas DeRensis <tderensis@gmail.com>
Diffstat (limited to 'src/radeon_video.c')
-rw-r--r-- | src/radeon_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_video.c b/src/radeon_video.c index 5349d113..cbfd554b 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -188,7 +188,7 @@ void RADEONInitVideo(ScreenPtr pScreen) xf86XVScreenInit(pScreen, adaptors, num_adaptors); if(texturedAdaptor) { - XF86MCAdaptorPtr xvmcAdaptor = RADEONCreateAdaptorXvMC(pScreen, texturedAdaptor->name); + XF86MCAdaptorPtr xvmcAdaptor = RADEONCreateAdaptorXvMC(pScreen, (char *)texturedAdaptor->name); if(xvmcAdaptor) { if(!xf86XvMCScreenInit(pScreen, 1, &xvmcAdaptor)) xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "[XvMC] Failed to initialize extension.\n"); |