diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-08-10 12:47:24 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-08-10 12:47:24 +0000 |
commit | 0baa72aff9737e17741b83c8a6d87891fb03bc0f (patch) | |
tree | cfb2f5ab859ce5cf7ebea2ef2724fe721466e213 /src/sound | |
parent | fd16b0c65c1b65908f20527c010a83b6e7e4cf3b (diff) | |
download | openttd-0baa72aff9737e17741b83c8a6d87891fb03bc0f.tar.xz |
(svn r25714) -Fix: explicitly cast some things to silence warnings on GCC 4.0
Diffstat (limited to 'src/sound')
-rw-r--r-- | src/sound/cocoa_s.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/cocoa_s.cpp b/src/sound/cocoa_s.cpp index 945c15da2..1dc2a25d4 100644 --- a/src/sound/cocoa_s.cpp +++ b/src/sound/cocoa_s.cpp @@ -67,7 +67,7 @@ const char *SoundDriver_Cocoa::Start(const char * const *parm) requestedDesc.mBytesPerFrame = requestedDesc.mBitsPerChannel * requestedDesc.mChannelsPerFrame / 8; requestedDesc.mBytesPerPacket = requestedDesc.mBytesPerFrame * requestedDesc.mFramesPerPacket; - MxInitialize(requestedDesc.mSampleRate); + MxInitialize((uint)requestedDesc.mSampleRate); /* Locate the default output audio unit */ desc.componentType = kAudioUnitType_Output; |