fixed: correct format identifier. kills a warning
authorspiff <spiff@xbmc.org>
Fri, 14 Oct 2011 18:10:27 +0000 (20:10 +0200)
committerspiff <spiff@xbmc.org>
Fri, 14 Oct 2011 18:13:58 +0000 (20:13 +0200)
xbmc/cores/paplayer/WAVcodec.cpp

index 7427603..cec5c97 100644 (file)
@@ -184,7 +184,7 @@ bool WAVCodec::Init(const CStdString &strFile, unsigned int filecache)
       // sanity check on the data length
       if (m_iDataLen > length - m_iDataStart)
       {
-        CLog::Log(LOGWARNING, "WAVCodec::Init - Wave has corrupt data length of %ld when it can't be longer then %"PRId64"", m_iDataLen, length - m_iDataStart);
+        CLog::Log(LOGWARNING, "WAVCodec::Init - Wave has corrupt data length of %i when it can't be longer then %"PRId64"", m_iDataLen, length - m_iDataStart);
         m_iDataLen = (long)(length - m_iDataStart);
       }