Re: [AD] microscopic issues compiling 4.1.13 with latest MinGW packages |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
> I tried using a union, which seems to work: > > union > { > RECT *first; > LPPOINT second; > } dest_rect; > > ClientToScreen(allegro_wnd, dest_rect.second); Yes, the union is the solution recommended in the GCC manual. I wonder how I could have forgotten it... -- Eric Botcazou
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |