From a65ec178df80746e695950bb64a4fdea9334d07e Mon Sep 17 00:00:00 2001 From: Alam Arias Date: Thu, 18 Mar 2010 18:01:43 -0400 Subject: cast AL_SIZE value to ALint --- OpenAL32/alDatabuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenAL32/alDatabuffer.c b/OpenAL32/alDatabuffer.c index c9283250..85b1a1c2 100644 --- a/OpenAL32/alDatabuffer.c +++ b/OpenAL32/alDatabuffer.c @@ -491,7 +491,7 @@ ALvoid ALAPIENTRY alGetDatabufferiEXT(ALuint buffer, ALenum eParam, ALint *plVal switch(eParam) { case AL_SIZE: - *plValue = pBuffer->size; + *plValue = (ALint)pBuffer->size; break; default: -- cgit v1.2.3