Mesa (master): aubinator: Fix compiler warning

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Sep 12 23:20:22 UTC 2016


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

Author: Sirisha Gandikota <Sirisha.Gandikota at 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.Gandikota at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at 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;
 };
 




More information about the mesa-commit mailing list