summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup/ss_vbtmp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-11-25 16:39:31 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-11-25 16:39:31 +0000
commit8236a534b7c31b5d3b688323de05cfa5e446f70d (patch)
treef2da1c9f02675aeced8c0020bd8a38bdd621f2e7 /src/mesa/swrast_setup/ss_vbtmp.h
parent2c9f50dd4acc65ddfeb8e3fde98137711167e579 (diff)
fix assorted g++ warnings
Diffstat (limited to 'src/mesa/swrast_setup/ss_vbtmp.h')
-rw-r--r--src/mesa/swrast_setup/ss_vbtmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast_setup/ss_vbtmp.h b/src/mesa/swrast_setup/ss_vbtmp.h
index 61956f25ce..d72a6693d6 100644
--- a/src/mesa/swrast_setup/ss_vbtmp.h
+++ b/src/mesa/swrast_setup/ss_vbtmp.h
@@ -137,7 +137,7 @@ static void TAG(emit)(GLcontext *ctx, GLuint start, GLuint end,
}
if (IND & INDEX) {
- v->index = index[0];
+ v->index = (GLuint) index[0];
STRIDE_F(index, index_stride);
}