Use %zd for size_t types
This commit is contained in:
parent
18f05cc1d1
commit
7d068054e6
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user