summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-12-03 15:24:34 +0000
committerBrian Paul <[email protected]>2004-12-03 15:24:34 +0000
commita760ccf6d8a1f94d505b4c211ff4c30bc1d325a8 (patch)
tree27b266d1b4acc7d09551c4f3ca30129f74e39f18 /src/mesa/main/context.c
parent025aa9efcd8213ce530818cfd8be1b6d9e945b2c (diff)
silence a variety of warnings found with g++ 3.4.2
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 2423b68ddc7..3116cb95a1f 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1424,7 +1424,7 @@ alloc_dispatch_table(void)
(struct _glapi_table *) _mesa_malloc(numEntries * sizeof(_glapi_proc));
if (table) {
_glapi_proc *entry = (_glapi_proc *) table;
- GLuint i;
+ GLint i;
for (i = 0; i < numEntries; i++) {
entry[i] = (_glapi_proc) generic_nop;
}