diff options
| author | Jeffery Myers <[email protected]> | 2023-01-27 10:20:42 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-27 19:20:42 +0100 |
| commit | 81ca2f0bf36e59623084d583f3e26c3709b96a27 (patch) | |
| tree | 9a467d9176086a30b919aeea5d7baab44fb66722 /examples/audio | |
| parent | af66e751db58b0576eb50865aac0842f6df153ea (diff) | |
| download | raylib-81ca2f0bf36e59623084d583f3e26c3709b96a27.tar.gz raylib-81ca2f0bf36e59623084d583f3e26c3709b96a27.zip | |
Fix warnings and bad project settings for 4.5 release (#2894)
Diffstat (limited to 'examples/audio')
| -rw-r--r-- | examples/audio/audio_raw_stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/audio/audio_raw_stream.c b/examples/audio/audio_raw_stream.c index 142450e8..6befa765 100644 --- a/examples/audio/audio_raw_stream.c +++ b/examples/audio/audio_raw_stream.c @@ -43,7 +43,7 @@ void AudioInputCallback(void *buffer, unsigned int frames) float incr = audioFrequency/44100.0f; short *d = (short *)buffer; - for (int i = 0; i < frames; i++) + for (unsigned int i = 0; i < frames; i++) { d[i] = (short)(32000.0f*sinf(2*PI*sineIdx)); sineIdx += incr; |
