GLX: Make sure the types match for ALIAS in indirect_reqsize.c
This commit is contained in:
parent
e10c53421f
commit
31a20a573b
|
@ -39,12 +39,12 @@
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_ALIAS
|
#ifdef HAVE_ALIAS
|
||||||
# define ALIAS2(from,to) \
|
# 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 )));
|
__attribute__ ((alias( # to )));
|
||||||
# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )
|
# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )
|
||||||
#else
|
#else
|
||||||
# define ALIAS(from,to) \
|
# 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 ); }
|
{ return __glX ## to ## ReqSize( pc, swap ); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user