diff options
author | Chris Robinson <[email protected]> | 2019-09-12 03:14:01 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-12 03:22:34 -0700 |
commit | 4c76f32ddac5145231609b1cb4f28028abed814b (patch) | |
tree | 139ec9836d367b014e17c6afc614d71338c15ff0 /examples/alloopback.c | |
parent | 474d478854ef2ec46bf7b0cb6148c91b7fb8cc2c (diff) |
Avoid implicit conversions with the examples and utils
Diffstat (limited to 'examples/alloopback.c')
-rw-r--r-- | examples/alloopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alloopback.c b/examples/alloopback.c index 313b89d5..426a2af9 100644 --- a/examples/alloopback.c +++ b/examples/alloopback.c @@ -249,7 +249,7 @@ int main(int argc, char *argv[]) /* Create the source to play the sound with. */ source = 0; alGenSources(1, &source); - alSourcei(source, AL_BUFFER, buffer); + alSourcei(source, AL_BUFFER, (ALint)buffer); assert(alGetError()==AL_NO_ERROR && "Failed to setup sound source"); /* Play the sound until it finishes. */ |