summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstore.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-07-15 11:15:27 +0200
committerMichal Krol <[email protected]>2008-07-15 11:48:55 +0200
commit090e212c0c5e54156c3c33f7eecdfe01398a7222 (patch)
treec22df6784c0952aaf9d1bf7cd02a99ca2bd03319 /src/mesa/main/texstore.c
parent3392bcaaa823bd791e8d7e4c5a7ce013831899bb (diff)
mesa: Silence compiler warnings on Windows.
Diffstat (limited to 'src/mesa/main/texstore.c')
-rw-r--r--src/mesa/main/texstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 113eef69f4c..edb1ae965d0 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -2377,7 +2377,7 @@ _mesa_texstore_z24_s8(TEXSTORE_PARAMS)
_mesa_unpack_depth_span(ctx, srcWidth,
GL_UNSIGNED_INT_24_8_EXT, /* dst type */
dstRow, /* dst addr */
- depthScale,
+ (GLuint) depthScale,
srcType, src, srcPacking);
/* get the 8-bit stencil values */
_mesa_unpack_stencil_span(ctx, srcWidth,