summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
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;
}
}