glx: Fix compile warnings since 99fee476a102be898a1a093c037e06382f90a5b9
authorEric Anholt <eric@anholt.net>
Tue, 25 Sep 2012 17:02:06 +0000 (10:02 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 28 Sep 2012 21:00:24 +0000 (14:00 -0700)
commit7ae332dc6d41f89faf5644ce576b3e8b6e5e194e
tree4afb7ebe866786362599370213de952fb339527d
parent66159f94a5ce00b2e7c06766d7d1ecc1208c2f69
glx: Fix compile warnings since 99fee476a102be898a1a093c037e06382f90a5b9

_glapi_table is a struct full of named function pointers, while the generated
code just wants to treat it as an array of function pointers.  Cast to avoid
the compiler warning.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mapi/glapi/gen/glX_proto_send.py