diff options
Diffstat (limited to 'libmpdemux/demux_xmms.c')
-rw-r--r-- | libmpdemux/demux_xmms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/demux_xmms.c b/libmpdemux/demux_xmms.c index 682a86d500..3c3a06f77e 100644 --- a/libmpdemux/demux_xmms.c +++ b/libmpdemux/demux_xmms.c @@ -341,7 +341,7 @@ static int demux_xmms_control(demuxer_t *demuxer,int cmd, void *arg){ switch(cmd) { case DEMUXER_CTRL_GET_TIME_LENGTH: if (xmms_length<=0) return DEMUXER_CTRL_DONTKNOW; - *((unsigned long *)arg)=(unsigned long)xmms_length/1000; + *((double *)arg)=(double)xmms_length/1000; return DEMUXER_CTRL_GUESS; case DEMUXER_CTRL_GET_PERCENT_POS: |