aubinator: Fix compiler warning
authorSirisha Gandikota <Sirisha.Gandikota@intel.com>
Thu, 8 Sep 2016 23:15:18 +0000 (16:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 12 Sep 2016 23:19:56 +0000 (16:19 -0700)
Add 'const' qualifier to gen_field_iterator::p pointer (Ken)

Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/decoder.h

index b46e451652fe63176d43f351939f5899f7e6f577..4ab0765b95db2dd20bb2daf106465502619c042b 100644 (file)
@@ -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;
 };