diff -uNr vegastrike/src/aldrv/al_init.cpp vegastrike-new/src/aldrv/al_init.cpp --- vegastrike/src/aldrv/al_init.cpp 2004-05-20 05:04:26 +0400 +++ vegastrike-new/src/aldrv/al_init.cpp 2008-02-12 23:11:01 +0300 @@ -20,7 +20,7 @@ #include "al_globals.h" #include static void fixup_function_pointers(void) { - alutLoadMP3p = (mp3Loader *) alGetProcAddress((ALubyte *)"alutLoadMP3_LOKI"); + alutLoadMP3p = (mp3Loader *) alGetProcAddress((const ALchar *)"alutLoadMP3_LOKI"); if(alutLoadMP3p == NULL) { VSFileSystem::vs_fprintf(stderr, "Could not GetProc %s\n","alutLoadMP3_LOKI"); } @@ -174,7 +174,7 @@ return false; } - alcMakeContextCurrent( context_id ); + alcMakeContextCurrent((ALCcontext*) context_id ); fixup_function_pointers(); ALenum alGetEr = 0; @@ -215,7 +215,7 @@ } buffers.clear(); if (context_id) - alcDestroyContext(context_id); + alcDestroyContext((ALCcontext*) context_id); if (dev) alcCloseDevice( dev ); #endif