Module: Mesa
Branch: master
Commit: d2869c95fbee8213a3d90b42f60414da546c4962
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2869c95fbee8213a3d90b42f60414da546c4962

Author: Sirisha Gandikota <sirisha.gandik...@intel.com>
Date:   Thu Sep  8 16:15:18 2016 -0700

aubinator: Fix compiler warning

Add 'const' qualifier to gen_field_iterator::p pointer (Ken)

Signed-off-by: Sirisha Gandikota <sirisha.gandik...@intel.com>
Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

---

 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;
 };
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to