uxa: Add missing const to string to stop compiler warning

This commit is contained in:
Robert Ancell 2015-10-02 10:43:10 +01:00 committed by Chris Wilson
parent 096ddef22d
commit 4e668dd19c
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ Bool intel_xvmc_adaptor_init(ScreenPtr pScreen)
intel_screen_private *intel = intel_get_screen_private(scrn);
struct pci_device *pci;
static XF86MCAdaptorRec *pAdapt;
char *name;
const char *name;
char buf[64];
if (!intel->XvMCEnabled)