Adding some casts to get rid of Xcode warnings.

This commit is contained in:
John Boiles 2013-10-15 13:49:40 -07:00
parent 1a0b463a32
commit 5baa7a07c2
2 changed files with 2 additions and 2 deletions

View File

@ -733,7 +733,7 @@ static void AudioQueueIsRunningCallbackProc(void* userData, AudioQueueRef audioQ
if (currentlyReadingEntry->processedPacketsSizeTotal < 0xfffff)
{
OSAtomicAdd32(packetSize, &currentlyReadingEntry->processedPacketsSizeTotal);
OSAtomicAdd32((int32_t)packetSize, &currentlyReadingEntry->processedPacketsSizeTotal);
OSAtomicIncrement32(&currentlyReadingEntry->processedPacketsCount);
}

View File

@ -153,7 +153,7 @@
stream = 0;
relativePosition = 0;
seekStart = offset;
seekStart = (int)offset;
[self open];
[self reregisterForEvents];