From 07c59411817c10fbcbf1bc9efa6a0818b6e0493a Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 6 Jun 2009 22:17:44 -0700 Subject: GLX: Make sure the types match for ALIAS in indirect_reqsize.c (cherry picked from commit 31a20a573b867fb7f02da15425e3b92eccb82dec) --- glx/indirect_reqsize.c | 4 ++-- 1 file 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 -- cgit v1.2.3