aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alDatabuffer.c2
1 files changed, 1 insertions, 1 deletions
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: