fix warnings

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24378 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-03-12 21:43:13 +00:00
parent 90e536bc49
commit 7578c0049e

View File

@ -277,7 +277,7 @@ mp3Decoder::DecodeNextChunk()
return B_ERROR; return B_ERROR;
} }
int len = GetFrameLength(chunkBuffer); int len = GetFrameLength(chunkBuffer);
TRACE("mp3Decoder::DecodeNextChunk: chunkSize %d, first frame length %d\n", chunkSize, len); TRACE("mp3Decoder::DecodeNextChunk: chunkSize %ld, first frame length %d\n", chunkSize, len);
// len == -1 when not at frame start // len == -1 when not at frame start
// len == chunkSize for mp3 reader (delivers single frames) // len == chunkSize for mp3 reader (delivers single frames)
if (len < (int)chunkSize) { if (len < (int)chunkSize) {
@ -295,7 +295,7 @@ mp3Decoder::DecodeNextChunk()
TRACE("mp3Decoder::DecodeNextChunk: Sync failed\n"); TRACE("mp3Decoder::DecodeNextChunk: Sync failed\n");
return B_ERROR; return B_ERROR;
} }
TRACE("mp3Decoder::DecodeNextChunk: new chunkSize %d, first frame length %d\n", chunkSize, GetFrameLength(chunkBuffer)); TRACE("mp3Decoder::DecodeNextChunk: new chunkSize %ld, first frame length %d\n", chunkSize, GetFrameLength(chunkBuffer));
} }
fNeedSync = false; fNeedSync = false;
} }