XQuartz: Fix get_proc_address signature
authorJeremy Huddleston Sequoia <jeremyhu@apple.com>
Sun, 29 Dec 2013 20:36:51 +0000 (12:36 -0800)
committerJeremy Huddleston Sequoia <jeremyhu@apple.com>
Mon, 13 Jan 2014 07:12:48 +0000 (23:12 -0800)
commitea80279e292e59a9fe9651489f03e9f2f39810d9
tree2acdc9876545fd1d63a5ec0e6b272d43b5852a45
parent2e3ebec9520719a8e5c3c92390e83bcb5216f978
XQuartz: Fix get_proc_address signature

indirect.c:675:28: warning: incompatible pointer types passing 'glx_gpa_proc (*)(const char *)' to parameter of type
      'glx_gpa_proc' (aka 'glx_func_ptr (*)(const char *)') [-Wincompatible-pointer-types,Semantic Issue]
    __glXsetGetProcAddress(&get_proc_address);
                           ^~~~~~~~~~~~~~~~~
../../../glx/glxserver.h:122:42: note: passing argument to parameter 'get_proc_address' here [Semantic Issue]
void __glXsetGetProcAddress(glx_gpa_proc get_proc_address);
                                         ^

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
hw/xquartz/GL/indirect.c