[mythtv] Shoutcast patch ; updated for svn 16284.

Eskil Heyn Olsen myth at eskil.org
Fri Feb 29 04:05:06 UTC 2008


On Thu, 2008-02-28 at 21:59 -0600, Zdzislaw Gorlicki wrote:

> musicplayer.cpp
> musicplayer.cpp: In member function ‚void 
> MusicPlayer::setListener(QObject*)‚:
> musicplayer.cpp:156: error: cast from ‚QObject*‚ to ‚unsigned int‚ loses 
> precision
> make[2]: *** [musicplayer.o] Error 1
> make[2]: Leaving directory 
> `/data/devel/mythtv/mythplugins/mythmusic/mythmusic'
> make[1]: *** [sub-mythmusic] Error 2
> make[1]: Leaving directory `/data/devel/mythtv/mythplugins/mythmusic'
> make: *** [sub-mythmusic] Error 2


Nope, that's one of my debug VERBOSE things that I forgot to remove. The
cast isn't valid on 64bit. I'll remove it (and possibly others) and spin
a new patch, but in the meantime, you can just remove ;

    155     if (m_listener)
    156         VERBOSE(VB_PLAYBACK, QString ("setListener 0x%1, a %2").arg((unsigned int)m_listener).arg(m_listener->className()));
 
it was just to track down a visualiser problem I had.

eskil
---



More information about the mythtv-dev mailing list