xf86-video-intel: src/uxa/intel_hwmc.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Oct 2 02:43:35 PDT 2015


 src/uxa/intel_hwmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4e668dd19ca402321091311fc6c2dd5cd9c28f23
Author: Robert Ancell <robert.ancell at canonical.com>
Date:   Fri Oct 2 10:43:10 2015 +0100

    uxa: Add missing const to string to stop compiler warning

diff --git a/src/uxa/intel_hwmc.c b/src/uxa/intel_hwmc.c
index 829cb8e..7854060 100644
--- a/src/uxa/intel_hwmc.c
+++ b/src/uxa/intel_hwmc.c
@@ -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)


More information about the xorg-commit mailing list