From 7d068054e69433000bcc113e3affde25ac8dc75c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 6 Dec 2007 22:54:15 -0800 Subject: Use %zd for size_t types --- Alc/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/alsa.c') 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; } } -- cgit v1.2.3