summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 16:21:51 +0000
committerBrian Paul <[email protected]>2003-11-25 16:21:51 +0000
commit2c9f50dd4acc65ddfeb8e3fde98137711167e579 (patch)
tree2301c8a7bab79709f98e0507f97eab0f15817440 /src/mesa/main/dlist.c
parent3bc7f3f864e76e20c644910620f22b23e03547dc (diff)
casts for g++
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index c547a2c74db..d8ef3bbb315 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -4753,7 +4753,7 @@ static void save_Indexf( GLfloat x )
ctx->ListState.CurrentIndex = x;
if (ctx->ExecuteFlag) {
- (*ctx->Exec->Indexi)( x );
+ (*ctx->Exec->Indexi)( (GLint) x );
}
}