aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/solaris.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-18 07:13:23 -0800
committerChris Robinson <[email protected]>2017-01-18 07:13:23 -0800
commitd2e5aa79ddc79bccde67d375cffea8f9922ca611 (patch)
treef39b0892cbbb877cd2d0ebc6d7270159dfdf91fa /Alc/backends/solaris.c
parentba0944af9ba8d851bc5b6ad99f314bbdac269716 (diff)
Use ALsizei in more places
Diffstat (limited to 'Alc/backends/solaris.c')
-rw-r--r--Alc/backends/solaris.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/solaris.c b/Alc/backends/solaris.c
index 01472e6a..792f717a 100644
--- a/Alc/backends/solaris.c
+++ b/Alc/backends/solaris.c
@@ -177,8 +177,8 @@ static ALCboolean ALCsolarisBackend_reset(ALCsolarisBackend *self)
{
ALCdevice *device = STATIC_CAST(ALCbackend,self)->mDevice;
audio_info_t info;
- ALuint frameSize;
- int numChannels;
+ ALsizei frameSize;
+ ALsizei numChannels;
AUDIO_INITINFO(&info);
@@ -220,7 +220,7 @@ static ALCboolean ALCsolarisBackend_reset(ALCsolarisBackend *self)
return ALC_FALSE;
}
- if(ChannelsFromDevFmt(device->FmtChans) != info.play.channels)
+ if(ChannelsFromDevFmt(device->FmtChans) != (ALsizei)info.play.channels)
{
ERR("Could not set %d channels, got %d instead\n", ChannelsFromDevFmt(device->FmtChans), info.play.channels);
return ALC_FALSE;