summaryrefslogtreecommitdiff
path: root/games/vdrift/files/patch-src_sound.cpp
blob: 8819c41a060ad6a70596156a6d2694ac6cfa0938 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/sound.cpp.orig	Tue Sep 12 19:39:38 2006
+++ src/sound.cpp	Tue Sep 12 19:41:19 2006
@@ -282,9 +282,9 @@
 	alutLoadWAVFile((ALbyte*)(filename).c_str(), &format, &data, &size, &freq);
 #else
 #ifdef OLD_OPENAL
-	alutLoadWAVFile((ALbyte*)(filename).c_str(), &format, &data, &size, &freq, &loop);
+	alutLoadWAVFile(filename.c_str(), &format, &data, &size, &freq, &loop);
 #else
-	data = alutLoadMemoryFromFile((ALbyte*)(filename).c_str(), &format, &size, &freq);
+	data = alutLoadMemoryFromFile(filename.c_str(), &format, &size, &freq);
 #endif
 #endif
 	//bool err = LoadWave(filename, &format, &data, &size, &freq, &loop);