diff options
author | Brad King <brad.king@kitware.com> | 2023-05-22 17:29:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-05-22 21:14:54 (GMT) |
commit | 7b3ec2b891d587828808845bfc390fb33aa120d9 (patch) | |
tree | cbd2a64720bb47c70e998654a204df9a14131473 /Tests | |
parent | d531b9e7d151124a2a31ff19ac7b5a25671da5c2 (diff) | |
download | CMake-7b3ec2b891d587828808845bfc390fb33aa120d9.zip CMake-7b3ec2b891d587828808845bfc390fb33aa120d9.tar.gz CMake-7b3ec2b891d587828808845bfc390fb33aa120d9.tar.bz2 |
Tests: Avoid printing function address in FindOpenAL.Test
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindOpenAL/Test/main.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/FindOpenAL/Test/main.cxx b/Tests/FindOpenAL/Test/main.cxx index 1396c60..27204fb 100644 --- a/Tests/FindOpenAL/Test/main.cxx +++ b/Tests/FindOpenAL/Test/main.cxx @@ -10,9 +10,10 @@ int main() { /* Reference an AL symbol without requiring a context at runtime. */ - printf("&alGetString = %p\n", &alGetString); + printf("AL_VERSION: %s\n", alGetString(AL_VERSION)); /* Reference an ALC symbol without requiring a context at runtime. */ - printf("&alcGetString = %p\n", &alcGetString); + printf("ALC_DEVICE_SPECIFIER: %s\n", + alcGetString(NULL, ALC_DEVICE_SPECIFIER)); return 0; } |