From: Brian Paul Date: Thu, 16 Sep 1999 22:37:56 +0000 (+0000) Subject: added some casts in gluGetProcAddressEXT() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9e8741c8f0e5d683df4be09a232aa722589645e;p=mesa.git added some casts in gluGetProcAddressEXT() --- diff --git a/src/glu/mesa/glu.c b/src/glu/mesa/glu.c index 12cc98c8481..e7338a3ac90 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 */