aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-06 22:54:15 -0800
committerChris Robinson <[email protected]>2007-12-06 22:54:15 -0800
commit7d068054e69433000bcc113e3affde25ac8dc75c (patch)
treefcd9705ec2fec31469d1bcaf5a1a9ed42a457450 /Alc
parent18f05cc1d129c572c05e1c7633f43f9125a6cd0b (diff)
Use %zd for size_t types
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 2072ead0..f59ebb84 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -291,7 +291,7 @@ static ALCboolean alsa_open_playback(ALCdevice *device, const ALCchar *deviceNam
strcmp(deviceName, alsaDeviceList[idx]) == 0)
{
if(idx > 0)
- sprintf(driver, "hw:%d,0", idx-1);
+ sprintf(driver, "hw:%zd,0", idx-1);
goto open_alsa;
}
}