summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-09-24 09:04:15 +0200
committerMichal Krol <michal@vmware.com>2009-09-24 09:04:15 +0200
commita58360dbc2ee1ef919ecd50bd46cb57a151b8550 (patch)
tree9b282783b623333020f367675b8e30ccbf7af9c1 /src/glsl
parent13f9a39cea81bf8f1efd4aca1467c63a49a42dab (diff)
glsl/pp: Use struct instead of union.
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/pp/sl_pp_token.h2
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 b1f3389b32..cece30b62d 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;