aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 2faa84d2..5f50fa06 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -354,7 +354,7 @@ static const ALCenums enumeration[] = {
DECL(ALC_HRTF_REQUIRED_SOFT),
DECL(ALC_HRTF_HEADPHONES_DETECTED_SOFT),
DECL(ALC_HRTF_UNSUPPORTED_FORMAT_SOFT),
- DECL(ALC_NUM_HRTF_SPECIFIER_SOFT),
+ DECL(ALC_NUM_HRTF_SPECIFIERS_SOFT),
DECL(ALC_HRTF_SPECIFIER_SOFT),
DECL(ALC_HRTF_ID_SOFT),
@@ -2894,10 +2894,10 @@ static ALCsizei GetIntegerv(ALCdevice *device, ALCenum param, ALCsizei size, ALC
values[0] = device->Hrtf_Status;
return 1;
- case ALC_NUM_HRTF_SPECIFIER_SOFT:
+ case ALC_NUM_HRTF_SPECIFIERS_SOFT:
FreeHrtfList(&device->Hrtf_List);
device->Hrtf_List = EnumerateHrtf(device->DeviceName);
- values[0] = VECTOR_SIZE(device->Hrtf_List);
+ values[0] = (ALCint)VECTOR_SIZE(device->Hrtf_List);
return 1;
default: