Mesa (master): i965: Fix struct vs class warnings in brw_fs_vector_splitting.cpp.

Kenneth Graunke kwg at kemper.freedesktop.org
Mon Nov 7 07:03:18 UTC 2011


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Tue Nov  1 15:30:52 2011 -0700

i965: Fix struct vs class warnings in brw_fs_vector_splitting.cpp.

Makes clang happier.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

---

 .../drivers/dri/i965/brw_fs_vector_splitting.cpp   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
index 42d2a50..7a12e08 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_vector_splitting.cpp
@@ -209,12 +209,12 @@ public:
    virtual ir_visitor_status visit_leave(ir_assignment *);
 
    void handle_rvalue(ir_rvalue **rvalue);
-   struct variable_entry *get_splitting_entry(ir_variable *var);
+   variable_entry *get_splitting_entry(ir_variable *var);
 
    exec_list *variable_list;
 };
 
-struct variable_entry *
+variable_entry *
 ir_vector_splitting_visitor::get_splitting_entry(ir_variable *var)
 {
    assert(var);




More information about the mesa-commit mailing list