summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-06 22:17:44 -0700
committerJeremy Huddleston <jeremyhu@freedesktop.org>2009-06-06 22:24:18 -0700
commit07c59411817c10fbcbf1bc9efa6a0818b6e0493a (patch)
tree3e2fddd705f42d0d135e111c10fa228ae050256f /glx
parent077556ec39ca7e0d14486005cf71fcdc70a350cf (diff)
GLX: Make sure the types match for ALIAS in indirect_reqsize.c
(cherry picked from commit 31a20a573b867fb7f02da15425e3b92eccb82dec)
Diffstat (limited to 'glx')
-rw-r--r--glx/indirect_reqsize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/glx/indirect_reqsize.c b/glx/indirect_reqsize.c
index c47f01ee9..35bb9370f 100644
--- a/glx/indirect_reqsize.c
+++ b/glx/indirect_reqsize.c
@@ -39,12 +39,12 @@
#endif
#ifdef HAVE_ALIAS
# define ALIAS2(from,to) \
- GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
+ int __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
__attribute__ ((alias( # to )));
# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )
#else
# define ALIAS(from,to) \
- GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
+ int __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \
{ return __glX ## to ## ReqSize( pc, swap ); }
#endif