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 f59ebb84..48f7a358 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -444,7 +444,7 @@ static ALCboolean alsa_open_capture(ALCdevice *pDevice, const ALCchar *deviceNam
strcmp(deviceName, alsaCaptureDeviceList[idx]) == 0)
{
if(idx > 0)
- sprintf(driver, "hw:%d,0", idx-1);
+ sprintf(driver, "hw:%zd,0", idx-1);
goto open_alsa;
}
}