From 205b6501a0ad8e792d2d7cc32dc3ba25b7613ec2 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 8 Jun 2005 18:55:49 +0000 Subject: (Accidentally sent previous commit without message... is same stuff) gcc4 error fixes for compiling in OSX Tiger Also; make using python framework default in makefiles --- intern/SoundSystem/openal/SND_OpenALDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/SoundSystem') diff --git a/intern/SoundSystem/openal/SND_OpenALDevice.cpp b/intern/SoundSystem/openal/SND_OpenALDevice.cpp index fdad75db767..2a320568e2a 100644 --- a/intern/SoundSystem/openal/SND_OpenALDevice.cpp +++ b/intern/SoundSystem/openal/SND_OpenALDevice.cpp @@ -430,9 +430,9 @@ SND_WaveSlot* SND_OpenALDevice::LoadSample(const STR_String& name, else { #ifdef __APPLE__ - alutLoadWAVFile((signed char*)samplename.Ptr(), &sampleformat, &data, &numberofsamples, &samplerate); + alutLoadWAVFile((ALbyte *)samplename.Ptr(), &sampleformat, &data, &numberofsamples, &samplerate); #else - alutLoadWAVFile((signed char*)samplename.Ptr(), &sampleformat, &data, &numberofsamples, &samplerate, &loop); + alutLoadWAVFile((ALbyte *)samplename.Ptr(), &sampleformat, &data, &numberofsamples, &samplerate, &loop); #endif /* put it in the buffer */ alBufferData(m_buffers[buffer], sampleformat, data, numberofsamples, samplerate); -- cgit v1.2.3