aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-06-15 23:52:21 -0700
committerChris Robinson <[email protected]>2011-06-15 23:52:21 -0700
commitf26798bd19275982d257859c6c5ba319f7e25ec3 (patch)
tree0a9309f2622eb83d7416429cae73fa7b38cbe8ae /Alc
parent7f4dcefc808a8f579f2c70821e9c76d000d04976 (diff)
Remove some unnecessary casts
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index f97fa6fa..9f5ae786 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -2652,11 +2652,11 @@ ALC_API ALCdevice* ALC_APIENTRY alcOpenDevice(const ALCchar *deviceName)
device->UpdateSize = 1024;
device->MaxNoOfSources = GetConfigValueInt(NULL, "sources", 256);
- if((ALint)device->MaxNoOfSources <= 0)
+ if(device->MaxNoOfSources <= 0)
device->MaxNoOfSources = 256;
device->AuxiliaryEffectSlotMax = GetConfigValueInt(NULL, "slots", 4);
- if((ALint)device->AuxiliaryEffectSlotMax <= 0)
+ if(device->AuxiliaryEffectSlotMax <= 0)
device->AuxiliaryEffectSlotMax = 4;
device->NumStereoSources = 1;
@@ -2816,11 +2816,11 @@ ALC_API ALCdevice* ALC_APIENTRY alcLoopbackOpenDeviceSOFT(void)
device->UpdateSize = 0;
device->MaxNoOfSources = GetConfigValueInt(NULL, "sources", 256);
- if((ALint)device->MaxNoOfSources <= 0)
+ if(device->MaxNoOfSources <= 0)
device->MaxNoOfSources = 256;
device->AuxiliaryEffectSlotMax = GetConfigValueInt(NULL, "slots", 4);
- if((ALint)device->AuxiliaryEffectSlotMax <= 0)
+ if(device->AuxiliaryEffectSlotMax <= 0)
device->AuxiliaryEffectSlotMax = 4;
device->NumStereoSources = 1;