From: Brian Paul Date: Wed, 15 Sep 2010 18:49:11 +0000 (-0600) Subject: llvmpipe: s/boolean/unsigned/ in bitfield to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3085efabb18f76f369249fe1ad85665a5f9d1a60;p=mesa.git llvmpipe: s/boolean/unsigned/ in bitfield to silence warning Using non-int types for bitfields is a gcc extension. The size of the struct is not effected by this change. --- diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h index 57676679354..c55b97a9d13 100644 --- a/src/gallium/drivers/llvmpipe/lp_rast.h +++ b/src/gallium/drivers/llvmpipe/lp_rast.h @@ -79,8 +79,8 @@ struct lp_rast_state { */ struct lp_rast_shader_inputs { float facing; /** Positive for front-facing, negative for back-facing */ - boolean disable:1; /** Partially binned, disable this command */ - boolean opaque:1; /** Is opaque */ + unsigned disable:1; /** Partially binned, disable this command */ + unsigned opaque:1; /** Is opaque */ float (*a0)[4]; float (*dadx)[4];