Module: Mesa
Branch: glsl-pp-rework-2
Commit: a58360dbc2ee1ef919ecd50bd46cb57a151b8550
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a58360dbc2ee1ef919ecd50bd46cb57a151b8550

Author: Michal Krol <mic...@vmware.com>
Date:   Thu Sep 24 09:04:15 2009 +0200

glsl/pp: Use struct instead of union.

---

 src/glsl/pp/sl_pp_token.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h
index b1f3389..cece30b 100644
--- a/src/glsl/pp/sl_pp_token.h
+++ b/src/glsl/pp/sl_pp_token.h
@@ -107,7 +107,7 @@ union sl_pp_token_data {
    char other;
    int pragma;
    int extension;
-   union {
+   struct {
       unsigned int lineno: 24;
       unsigned int fileno: 8;
    } line;

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

Reply via email to