[Mesa-dev] [PATCH 1/5] aubinator: Fix compiler warning
Sirisha Gandikota
sirisha.gandikota at intel.com
Thu Sep 8 23:15:18 UTC 2016
From: Sirisha Gandikota <Sirisha.Gandikota at intel.com>
Add 'const' qualifier to gen_field_iterator::p pointer (Ken)
Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota at intel.com>
---
src/intel/tools/decoder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h
index b46e451..4ab0765 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;
};
--
2.7.4
More information about the mesa-dev
mailing list