From d2869c95fbee8213a3d90b42f60414da546c4962 Mon Sep 17 00:00:00 2001 From: Sirisha Gandikota Date: Thu, 8 Sep 2016 16:15:18 -0700 Subject: aubinator: Fix compiler warning Add 'const' qualifier to gen_field_iterator::p pointer (Ken) Signed-off-by: Sirisha Gandikota Reviewed-by: Kenneth Graunke --- src/intel/tools/decoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/tools/decoder.h') diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h index b46e451652f..4ab0765b95d 100644 --- a/src/intel/tools/decoder.h +++ b/src/intel/tools/decoder.h @@ -47,7 +47,7 @@ struct gen_field_iterator { struct gen_group *group; const char *name; char value[128]; - uint32_t *p; + const uint32_t *p; int i; }; -- cgit v1.2.3