osx build fix

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2912 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-04-07 03:56:21 +00:00
parent f18718922e
commit c662713ba0
2 changed files with 5 additions and 2 deletions

View File

@ -33,7 +33,7 @@ bool OpenALStream::Start()
pDeviceList = new ALDeviceList();
if ((pDeviceList) && (pDeviceList->GetNumDevices()))
{
pDevice = alcOpenDevice(pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
pDevice = alcOpenDevice((ALCubyte*)pDeviceList->GetDeviceName(pDeviceList->GetDefaultDevice()));
if (pDevice)
{
pContext = alcCreateContext(pDevice, NULL);
@ -150,7 +150,7 @@ void OpenALStream::SoundLoop()
// Clean up buffers and sources
alDeleteSources(1, &uiSource);
alDeleteBuffers(AUDIO_NUMBUFFERS, (const ALuint *)uiBuffers);
alDeleteBuffers(AUDIO_NUMBUFFERS, (ALuint *)uiBuffers);
}