Module Name: xsrc
Committed By: riastradh
Date: Wed Jul 9 20:00:57 UTC 2014
Modified Files:
xsrc/external/mit/MesaLib/dist/src/mesa/swrast: s_span.c
Log Message:
Need a void * cast here too.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.5 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c
diff -u xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c:1.1.1.5 xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c:1.2
--- xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c:1.1.1.5 Wed Jul 9 19:38:43 2014
+++ xsrc/external/mit/MesaLib/dist/src/mesa/swrast/s_span.c Wed Jul 9 20:00:57 2014
@@ -1239,7 +1239,7 @@ _swrast_write_rgba_span( struct gl_conte
}
else {
if (rb->DataType == GL_UNSIGNED_BYTE) {
- span->array->rgba = span->array->rgba8;
+ span->array->rgba = (void *) span->array->rgba8;
}
else if (rb->DataType == GL_UNSIGNED_SHORT) {
span->array->rgba = (void *) span->array->rgba16;