From 01915e90e6912f06d43d443a09157f7bbc96ddc5 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 Mar 2001 15:23:46 +0000 Subject: More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. --- src/mesa/drivers/x11/fakeglx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/x11/fakeglx.c') diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c index 4e5d5acd49b..d3a36ec8f43 100644 --- a/src/mesa/drivers/x11/fakeglx.c +++ b/src/mesa/drivers/x11/fakeglx.c @@ -1,4 +1,4 @@ -/* $Id: fakeglx.c,v 1.46 2001/02/17 00:17:31 brianp Exp $ */ +/* $Id: fakeglx.c,v 1.47 2001/03/08 15:23:46 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -2206,7 +2206,7 @@ struct _glxapi_table *_mesa_GetGLXDispatchTable(void) /* be sure our dispatch table size <= libGL's table */ { - int size = sizeof(struct _glxapi_table) / sizeof(void *); + GLuint size = sizeof(struct _glxapi_table) / sizeof(void *); (void) size; assert(_glxapi_get_dispatch_table_size() >= size); } -- cgit v1.2.3