Mesa (gallium-0.2): mesa: Do not specify types in bitfields.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue Dec 30 19:25:13 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 9972d7147b1622074669111d72d85467c8c398cc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9972d7147b1622074669111d72d85467c8c398cc

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue Dec 30 17:21:25 2008 +0000

mesa: Do not specify types in bitfields.

As advised by gcc -pedantic.

---

 src/mesa/main/texenvprogram.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 2f90a34..bd33cb4 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -55,8 +55,8 @@ struct texenvprog_cache_item
 #define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)
 
 struct mode_opt {
-   GLubyte Source:4;
-   GLubyte Operand:3;
+   GLuint Source:4;
+   GLuint Operand:3;
 };
 
 struct state_key {




More information about the mesa-commit mailing list