summaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-06 23:57:14 -0800
committerChris Robinson <[email protected]>2007-12-06 23:57:14 -0800
commit0f3e13ed7c54b21629ee6bbe749ceaab5e4bb6fb (patch)
tree36b92c7901b63c089609910c7e273c860a5b8e31 /Alc
parent7d068054e69433000bcc113e3affde25ac8dc75c (diff)
Use -Wextra instead of -W for extra warnings
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;
}
}