diff options
| author | Jeffery Myers <[email protected]> | 2024-06-24 08:47:32 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-24 17:47:32 +0200 |
| commit | e96bab7ce63568d86fae4fd664fa06625f76f1ee (patch) | |
| tree | d1fa5e419ac6846e64101afb39667ab10942c4bf /examples/audio | |
| parent | 4311db5ba5eb23c8f1d71268010afb135f3e1e25 (diff) | |
| download | raylib-e96bab7ce63568d86fae4fd664fa06625f76f1ee.tar.gz raylib-e96bab7ce63568d86fae4fd664fa06625f76f1ee.zip | |
[Build] Fix warnings when building in VS 2022 (#4095)
* Update raylib_api.* by CI
* Fix warnings when building examples in MSVC 2022
* fix auto-format that sneaked in there.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'examples/audio')
| -rw-r--r-- | examples/audio/audio_mixed_processor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/audio/audio_mixed_processor.c b/examples/audio/audio_mixed_processor.c index 3a008f3e..fd970dd1 100644 --- a/examples/audio/audio_mixed_processor.c +++ b/examples/audio/audio_mixed_processor.c @@ -97,7 +97,7 @@ int main(void) DrawRectangle(199, 199, 402, 34, LIGHTGRAY); for (int i = 0; i < 400; i++) { - DrawLine(201 + i, 232 - averageVolume[i] * 32, 201 + i, 232, MAROON); + DrawLine(201 + i, 232 - (int)averageVolume[i] * 32, 201 + i, 232, MAROON); } DrawRectangleLines(199, 199, 402, 34, GRAY); |
