summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/decoder.h
diff options
context:
space:
mode:
authorSirisha Gandikota <[email protected]>2016-09-08 16:15:18 -0700
committerKenneth Graunke <[email protected]>2016-09-12 16:19:56 -0700
commitd2869c95fbee8213a3d90b42f60414da546c4962 (patch)
treef3be8e1997838c3beda4c945e582612b859b09c7 /src/intel/tools/decoder.h
parentbf901a2f8c8954e55a3eebc6cd1b725f18802012 (diff)
aubinator: Fix compiler warning
Add 'const' qualifier to gen_field_iterator::p pointer (Ken) Signed-off-by: Sirisha Gandikota <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/tools/decoder.h')
-rw-r--r--src/intel/tools/decoder.h2
1 files changed, 1 insertions, 1 deletions
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;
};