X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_structure.c;h=ecb4f10b9b7cea3890d56bb2d4b30eb600173472;hb=fc98e7c77fdb427eab9de022cff9e149d6737971;hp=d3f9f05dbb12828371b599350a1b20847009f512;hpb=6a5114c6be53a01766ee8b7b2867bd22d9008a37;p=freeglut diff --git a/src/freeglut_structure.c b/src/freeglut_structure.c index d3f9f05..ecb4f10 100644 --- a/src/freeglut_structure.c +++ b/src/freeglut_structure.c @@ -165,7 +165,7 @@ void fgAddToWindowDestroyList( SFG_Window* window ) * to ensure that they are no longer called after this point. */ { - FGCBDestroy destroy = FETCH_WCB( *window, Destroy ); + FGCBDestroy destroy = (FGCBDestroy)FETCH_WCB( *window, Destroy ); fghClearCallBacks( window ); SET_WCB( *window, Destroy, destroy ); }