Explicitly cast function pointer to (void *) in SET_WCB since all callbacks stored as void pointers
suppress gcc -Wall -pendantic "noise" git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@432 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
2ed416a592
commit
176108b5eb
@ -396,7 +396,7 @@ struct tagSFG_WindowState
|
||||
do \
|
||||
{ \
|
||||
if( FETCH_WCB( window, cbname ) != func ) \
|
||||
(((window).CallBacks[CB_ ## cbname]) = func); \
|
||||
(((window).CallBacks[CB_ ## cbname]) = (void *) func); \
|
||||
} while( 0 ) \
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user