[mythtv] [mythtv-commits] mythtv commit: r12715 - in trunk/mythplugins/mythmusic/mythmusic by paulh

Stuart Morgan stuart at tase.co.uk
Sun Feb 4 19:23:50 UTC 2007

On Sunday 4 February 2007 18:32, Stuart Morgan wrote:
> One more problem.
> directoryfinder won't compile under gcc 4.1.2
> directoryfinder.cpp: In member function 'virtual void
> DirectoryFinder::keyPressEvent(QKeyEvent*)':
> directoryfinder.cpp:52: error: cast from 'void*' to 'int' loses precision
> directoryfinder.cpp: In member function 'void
> DirectoryFinder::OKPressed()': directoryfinder.cpp:214: error: cast from
> 'void*' to 'int' loses precision

FWIW it's a 64bit issue. A pointer is 64bits, int is 32bits. My solution was 
just to change it from an int to int64_t but I'll let you decide what's best. 
Stuart Morgan

More information about the mythtv-dev mailing list