summaryrefslogtreecommitdiff
path: root/src/glu
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:37:56 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-09-16 22:37:56 +0000
commitb9e8741c8f0e5d683df4be09a232aa722589645e (patch)
tree6649f1aea276fa858754fb514317d6d24cb1b23c /src/glu
parent1447677fa4cf18ceeae76c28b23f02eb966cfb71 (diff)
added some casts in gluGetProcAddressEXT()
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/mesa/glu.c19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/glu/mesa/glu.c b/src/glu/mesa/glu.c
index 12cc98c848..e7338a3ac9 100644
--- a/src/glu/mesa/glu.c
+++ b/src/glu/mesa/glu.c
@@ -1,4 +1,4 @@
-/* $Id: glu.c,v 1.8 1999/09/16 16:53:28 brianp Exp $ */
+/* $Id: glu.c,v 1.9 1999/09/16 22:37:56 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -23,6 +23,9 @@
/*
* $Log: glu.c,v $
+ * Revision 1.9 1999/09/16 22:37:56 brianp
+ * added some casts in gluGetProcAddressEXT()
+ *
* Revision 1.8 1999/09/16 16:53:28 brianp
* clean-up of GLU_EXT_get_proc_address
*
@@ -367,17 +370,17 @@ void GLAPIENTRY (*gluGetProcAddressEXT(const GLubyte *procName))()
void *address;
};
static struct proc procTable[] = {
- { "gluGetProcAddressEXT", gluGetProcAddressEXT }, /* me! */
+ { "gluGetProcAddressEXT", (void *) gluGetProcAddressEXT }, /* me! */
/* new 1.1 functions */
- { "gluGetString", gluGetString },
+ { "gluGetString", (void *) gluGetString },
/* new 1.2 functions */
- { "gluTessBeginPolygon", gluTessBeginPolygon },
- { "gluTessBeginContour", gluTessBeginContour },
- { "gluTessEndContour", gluTessEndContour },
- { "gluTessEndPolygon", gluTessEndPolygon },
- { "gluGetTessProperty", gluGetTessProperty },
+ { "gluTessBeginPolygon", (void *) gluTessBeginPolygon },
+ { "gluTessBeginContour", (void *) gluTessBeginContour },
+ { "gluTessEndContour", (void *) gluTessEndContour },
+ { "gluTessEndPolygon", (void *) gluTessEndPolygon },
+ { "gluGetTessProperty", (void *) gluGetTessProperty },
/* new 1.3 functions */