[Psi-devel] Re: [aj@andaco.de: Bug#290455: psi: FTBFS
(amd64/gcc-4.0): cast from 'QPopupMenu*' to 'int' loses precision]
Remko Troncon
remko.troncon at cs.kuleuven.ac.be
Fri Jan 14 11:46:00 PST 2005
> - if ( (int)it.key() == (int)obj ) {
> + if ( (long)it.key() == (long)obj ) {
Better not change the 'int' into a 'long' as the patch does, but
cast obj to QPopupMenu* (or it.key to QObject*, it shouldn't really
matter here).
cheers,
Remko
More information about the Psi-devel-affinix.com
mailing list