diff options
author | Alam Arias <[email protected]> | 2010-03-18 18:01:43 -0400 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-03-18 16:33:16 -0700 |
commit | a65ec178df80746e695950bb64a4fdea9334d07e (patch) | |
tree | 6c58f19070a6476e2603d13f69727406571798b5 | |
parent | cf4027df384dc78afd3a95ee9d900c613dc8a672 (diff) |
cast AL_SIZE value to ALint
-rw-r--r-- | OpenAL32/alDatabuffer.c | 2 |
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: |