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:
nigels 2003-12-30 02:51:32 +00:00
parent 2ed416a592
commit 176108b5eb

View File

@ -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 ) \
/*