Use %zd for size_t types

This commit is contained in:
Chris Robinson 2007-12-06 22:54:15 -08:00
parent 18f05cc1d1
commit 7d068054e6

View File

@ -291,7 +291,7 @@ static ALCboolean alsa_open_playback(ALCdevice *device, const ALCchar *deviceNam
strcmp(deviceName, alsaDeviceList[idx]) == 0) strcmp(deviceName, alsaDeviceList[idx]) == 0)
{ {
if(idx > 0) if(idx > 0)
sprintf(driver, "hw:%d,0", idx-1); sprintf(driver, "hw:%zd,0", idx-1);
goto open_alsa; goto open_alsa;
} }
} }