From: Michal Krol Date: Thu, 24 Sep 2009 07:04:15 +0000 (+0200) Subject: glsl/pp: Use struct instead of union. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a58360dbc2ee1ef919ecd50bd46cb57a151b8550;p=mesa.git glsl/pp: Use struct instead of union. --- diff --git a/src/glsl/pp/sl_pp_token.h b/src/glsl/pp/sl_pp_token.h index b1f3389b32c..cece30b62dd 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;