diff options
Diffstat (limited to 'examples/alhrtf.c')
-rw-r--r-- | examples/alhrtf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alhrtf.c b/examples/alhrtf.c index b8fc287f..d878870e 100644 --- a/examples/alhrtf.c +++ b/examples/alhrtf.c @@ -170,7 +170,7 @@ int main(int argc, char **argv) } /* Define a macro to help load the function pointers. */ -#define LOAD_PROC(d, T, x) ((x) = (T)alcGetProcAddress((d), #x)) +#define LOAD_PROC(d, T, x) ((x) = FUNCTION_CAST(T, alcGetProcAddress((d), #x))) LOAD_PROC(device, LPALCGETSTRINGISOFT, alcGetStringiSOFT); LOAD_PROC(device, LPALCRESETDEVICESOFT, alcResetDeviceSOFT); #undef LOAD_PROC |