glsl/pp: Use struct instead of union.
authorMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 07:04:15 +0000 (09:04 +0200)
committerMichal Krol <michal@vmware.com>
Thu, 24 Sep 2009 07:04:15 +0000 (09:04 +0200)
src/glsl/pp/sl_pp_token.h

index b1f3389..cece30b 100644 (file)
@@ -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;