aboutsummaryrefslogtreecommitdiffstats
path: root/examples/alloopback.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-12 03:14:01 -0700
committerChris Robinson <[email protected]>2019-09-12 03:22:34 -0700
commit4c76f32ddac5145231609b1cb4f28028abed814b (patch)
tree139ec9836d367b014e17c6afc614d71338c15ff0 /examples/alloopback.c
parent474d478854ef2ec46bf7b0cb6148c91b7fb8cc2c (diff)
Avoid implicit conversions with the examples and utils
Diffstat (limited to 'examples/alloopback.c')
-rw-r--r--examples/alloopback.c2
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. */