diff options
| author | Jeffery Myers <[email protected]> | 2023-11-06 11:31:07 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-06 20:31:07 +0100 |
| commit | 6cd37e57a6b38bb06cc54ecf6aa7659d4895723b (patch) | |
| tree | d3dee9e7f62fc74ee06caa51b99b684292bb3f24 /examples/shapes/shapes_lines_bezier.c | |
| parent | fc21a8e552c452804838bfbbbaadaf044a74b81e (diff) | |
| download | raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.tar.gz raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.zip | |
Fix warnings in visual studio (#3512)
Diffstat (limited to 'examples/shapes/shapes_lines_bezier.c')
| -rw-r--r-- | examples/shapes/shapes_lines_bezier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shapes/shapes_lines_bezier.c b/examples/shapes/shapes_lines_bezier.c index f0157685..7d7bdb0c 100644 --- a/examples/shapes/shapes_lines_bezier.c +++ b/examples/shapes/shapes_lines_bezier.c @@ -30,7 +30,7 @@ int main(void) Vector2 end = { (float)screenWidth, (float)screenHeight }; Vector2 startControl = { 100, 0 }; - Vector2 endControl = { GetScreenWidth() - 100, GetScreenHeight() }; + Vector2 endControl = { (float)GetScreenWidth() - 100, (float)GetScreenHeight() }; SetTargetFPS(60); // Set our game to run at 60 frames-per-second //-------------------------------------------------------------------------------------- |
