projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23080e4
)
wgl: stw_pixelformat_get_info: correct type for index variable
author
Alon Levy
<alevy@redhat.com>
Tue, 22 Jul 2014 21:07:04 +0000
(
00:07
+0300)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Thu, 23 Oct 2014 13:45:40 +0000
(14:45 +0100)
Signed-off-by: Alon Levy <alevy@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/state_trackers/wgl/stw_pixelformat.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/wgl/stw_pixelformat.c
b/src/gallium/state_trackers/wgl/stw_pixelformat.c
index 96169e2b5f96d387efcf47334bdf13e37528e671..b0cd5abd27afa713e371d7ebdec04fe177899b9f 100644
(file)
--- a/
src/gallium/state_trackers/wgl/stw_pixelformat.c
+++ b/
src/gallium/state_trackers/wgl/stw_pixelformat.c
@@
-303,7
+303,7
@@
stw_pixelformat_get_extended_count( void )
const struct stw_pixelformat_info *
stw_pixelformat_get_info( int iPixelFormat )
{
-
int
index;
+
unsigned
index;
if (iPixelFormat <= 0) {
return NULL;