diff options
author | Dave Airlie <[email protected]> | 2010-09-25 18:51:24 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-25 18:51:24 +1000 |
commit | 865cf775030beac3147547537a1a5372485127de (patch) | |
tree | cc1b9f183f6c2da12cfe5a0d72c4a202b0e7b07a /src/mesa | |
parent | 53e6eb8dbeedce5699bd43049d5dc1dde9d8855e (diff) |
mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0
1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/mipmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index f15c3b665be..3d1a4c49c49 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -415,7 +415,7 @@ do_row(GLenum datatype, GLuint comps, GLint srcWidth, GLuint i, j, k; const GLuint *rowA = (const GLuint *) srcRowA; const GLuint *rowB = (const GLuint *) srcRowB; - GLuint *dst = (GLfloat *) dstRow; + GLuint *dst = (GLuint *) dstRow; for (i = j = 0, k = k0; i < (GLuint) dstWidth; i++, j += colStride, k += colStride) { dst[i] = (GLfloat)(rowA[j] / 4 + rowA[k] / 4 + rowB[j] / 4 + rowB[k] / 4); |