aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlam Arias <[email protected]>2010-03-18 18:01:43 -0400
committerChris Robinson <[email protected]>2010-03-18 16:33:16 -0700
commita65ec178df80746e695950bb64a4fdea9334d07e (patch)
tree6c58f19070a6476e2603d13f69727406571798b5
parentcf4027df384dc78afd3a95ee9d900c613dc8a672 (diff)
cast AL_SIZE value to ALint
-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: