From f2aafb98026b5c476b7f84aa2dc4c1f9ba2e573d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 21 Feb 2012 10:43:11 +0000 Subject: [PATCH] uxa: Silence compiler warning for const arguments i965_video.c: In function 'gen6_create_cc_state': i965_video.c:1374:12: warning: passing argument 4 of 'intel_bo_alloc_for_data' discards 'const' qualifier from pointer target type [enabled by default] Repeated ad nauseam. Signed-off-by: Chris Wilson --- src/intel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel.h b/src/intel.h index e5f8bc8b..69f7c724 100644 --- a/src/intel.h +++ b/src/intel.h @@ -605,7 +605,7 @@ intel_emit_reloc(drm_intel_bo * bo, uint32_t offset, static inline drm_intel_bo *intel_bo_alloc_for_data(intel_screen_private *intel, const void *data, unsigned int size, - char *name) + const char *name) { drm_intel_bo *bo;