aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index f98efc20..4941bc65 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -940,7 +940,7 @@ AL_API ALvoid AL_APIENTRY alGetSourcef(ALuint source, ALenum eParam, ALfloat *pf
pContext->Device->Frequency;
GetSourceOffset(Source, eParam, Offsets, updateLen);
UnlockContext(pContext);
- *pflValue = Offsets[0];
+ *pflValue = (ALfloat)Offsets[0];
break;
case AL_CONE_INNER_ANGLE:
@@ -1087,8 +1087,8 @@ AL_API ALvoid AL_APIENTRY alGetSourcefv(ALuint source, ALenum eParam, ALfloat *p
pContext->Device->Frequency;
GetSourceOffset(Source, eParam, Offsets, updateLen);
UnlockContext(pContext);
- pflValues[0] = Offsets[0];
- pflValues[1] = Offsets[1];
+ pflValues[0] = (ALfloat)Offsets[0];
+ pflValues[1] = (ALfloat)Offsets[1];
break;
default: