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; } }