aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSource.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r--OpenAL32/alSource.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c
index a580c45c..3da891bc 100644
--- a/OpenAL32/alSource.c
+++ b/OpenAL32/alSource.c
@@ -1308,15 +1308,15 @@ static ALboolean GetSourcei64v(ALsource *Source, ALCcontext *Context, SrcIntProp
case siBuffer:
case siDirectFilter:
if((err=GetSourceiv(Source, Context, (int)prop, ivals)) != AL_FALSE)
- *values = ((ALuint*)ivals)[0];
+ *values = (ALuint)ivals[0];
return err;
case siAuxSendFilter:
if((err=GetSourceiv(Source, Context, (int)prop, ivals)) != AL_FALSE)
{
- values[0] = ((ALuint*)ivals)[0];
- values[1] = ((ALuint*)ivals)[1];
- values[2] = ((ALuint*)ivals)[2];
+ values[0] = (ALuint)ivals[0];
+ values[1] = (ALuint)ivals[1];
+ values[2] = (ALuint)ivals[2];
}
return err;
}