From: José Fonseca Date: Tue, 30 Dec 2008 17:21:15 +0000 (+0000) Subject: draw: Do not specify types in bitfields. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72f993b5b11174c2917af29ef7a86e7866d681fb;p=mesa.git draw: Do not specify types in bitfields. As advised by gcc -pedantic. --- diff --git a/src/gallium/auxiliary/draw/draw_vertex.h b/src/gallium/auxiliary/draw/draw_vertex.h index a943607d7ed..c143cf23723 100644 --- a/src/gallium/auxiliary/draw/draw_vertex.h +++ b/src/gallium/auxiliary/draw/draw_vertex.h @@ -81,9 +81,9 @@ struct vertex_info * memcmp() comparisons. */ struct { - ubyte interp_mode:4; /**< INTERP_x */ - ubyte emit:4; /**< EMIT_x */ - ubyte src_index; /**< map to post-xform attribs */ + unsigned interp_mode:4; /**< INTERP_x */ + unsigned emit:4; /**< EMIT_x */ + unsigned src_index:8; /**< map to post-xform attribs */ } attrib[PIPE_MAX_SHADER_INPUTS]; };