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 /src/rcore.c | |
| 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 'src/rcore.c')
| -rw-r--r-- | src/rcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c index a4fc4d67..2c9af11d 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -856,7 +856,7 @@ void EndDrawing(void) #ifndef GIF_RECORD_FRAMERATE #define GIF_RECORD_FRAMERATE 10 #endif - gifFrameCounter += GetFrameTime()*1000; + gifFrameCounter += (unsigned int)(GetFrameTime()*1000); // NOTE: We record one gif frame depending on the desired gif framerate if (gifFrameCounter > 1000/GIF_RECORD_FRAMERATE) |
