diff options
Diffstat (limited to 'libao2/ao_dsound.c')
-rw-r--r-- | libao2/ao_dsound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_dsound.c b/libao2/ao_dsound.c index 4197c30e27..fc069dad5e 100644 --- a/libao2/ao_dsound.c +++ b/libao2/ao_dsound.c @@ -223,7 +223,7 @@ static int InitDirectSound(void) HRESULT (WINAPI *OurDirectSoundCreate)(LPGUID, LPDIRECTSOUND *, LPUNKNOWN); HRESULT (WINAPI *OurDirectSoundEnumerate)(LPDSENUMCALLBACKA, LPVOID); int device_index=0; - opt_t subopts[] = { + const opt_t subopts[] = { {"device", OPT_ARG_INT, &device_num,NULL}, {NULL} }; |