From 932fcfa8bff4176a71c63d07376c810244b50cbb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 Oct 2010 12:24:07 -0700 Subject: [PATCH] Fix 64-bit compilation --- OpenAL32/alDatabuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAL32/alDatabuffer.c b/OpenAL32/alDatabuffer.c index 06a5a94f..cbe65a09 100644 --- a/OpenAL32/alDatabuffer.c +++ b/OpenAL32/alDatabuffer.c @@ -155,7 +155,7 @@ AL_API ALvoid AL_APIENTRY alDeleteDatabuffersEXT(ALsizei n, const ALuint *buffer // Release buffer structure RemoveUIntMapKey(&device->DatabufferMap, ALBuf->databuffer); - ALTHUNK_REMOVEENTRY(puiBuffers[i]); + ALTHUNK_REMOVEENTRY(ALBuf->databuffer); memset(ALBuf, 0, sizeof(ALdatabuffer)); free(ALBuf);