diff options
author | Chris Robinson <[email protected]> | 2013-06-05 01:52:49 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-06-05 01:52:49 -0700 |
commit | a371de080b01d9ea9dc38dd386b5903f7e4d8282 (patch) | |
tree | 2d6ad48f76bf1580430d0d6aa3dbd2bf7ab2d047 /OpenAL32/alSource.c | |
parent | 0e0f70b2888c23debeefd80603f8c6f0c1ad4880 (diff) |
Silence some clang warnings
Diffstat (limited to 'OpenAL32/alSource.c')
-rw-r--r-- | OpenAL32/alSource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alSource.c b/OpenAL32/alSource.c index f98b31ea..c59cec2b 100644 --- a/OpenAL32/alSource.c +++ b/OpenAL32/alSource.c @@ -534,13 +534,13 @@ static ALenum SetSourcefv(ALsource *Source, ALCcontext *Context, SrcFloatProp pr case sfAuxSendFilterGainHFAuto: case sfDirectChannelsSOFT: ival = (ALint)values[0]; - return SetSourceiv(Source, Context, prop, &ival); + return SetSourceiv(Source, Context, (SrcIntProp)prop, &ival); case sfBuffer: case sfBuffersQueued: case sfBuffersProcessed: ival = (ALint)((ALuint)values[0]); - return SetSourceiv(Source, Context, prop, &ival); + return SetSourceiv(Source, Context, (SrcIntProp)prop, &ival); } ERR("Unexpected property: 0x%04x\n", prop); |