aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-18 10:09:04 -0700
committerChris Robinson <[email protected]>2019-09-18 10:09:04 -0700
commit66565ca7a3cd63e242eedb0141341eb9450f0d4a (patch)
tree09ef30049942305dec9241fe896b8fad7685da11 /utils
parentda80a7c2b2e4a66856bec4d7b44c7a7df05a31a5 (diff)
Enable and fix some more warnings
Diffstat (limited to 'utils')
-rw-r--r--utils/openal-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/openal-info.c b/utils/openal-info.c
index 76cdf37d..cdce77e0 100644
--- a/utils/openal-info.c
+++ b/utils/openal-info.c
@@ -223,7 +223,7 @@ static void printHRTFInfo(ALCdevice *device)
return;
}
- alcGetStringiSOFT = alcGetProcAddress(device, "alcGetStringiSOFT");
+ alcGetStringiSOFT = (LPALCGETSTRINGISOFT)alcGetProcAddress(device, "alcGetStringiSOFT");
alcGetIntegerv(device, ALC_NUM_HRTF_SPECIFIERS_SOFT, 1, &num_hrtfs);
if(!num_hrtfs)
@@ -263,7 +263,7 @@ static void printResamplerInfo(void)
return;
}
- alGetStringiSOFT = alGetProcAddress("alGetStringiSOFT");
+ alGetStringiSOFT = (LPALGETSTRINGISOFT)alGetProcAddress("alGetStringiSOFT");
num_resamplers = alGetInteger(AL_NUM_RESAMPLERS_SOFT);
def_resampler = alGetInteger(AL_DEFAULT_RESAMPLER_SOFT);