Fix MSVC warnings. (#5619)

This commit is contained in:
Jeffery Myers 2026-03-03 22:52:50 -08:00 • committed by GitHub
commit 28288fafb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,7 +43,7 @@ int main(void)
InitWindow(screenWidth, screenHeight, "raylib [shapes] example - hilbert curve");
int order = 2;
float size = GetScreenHeight();
float size = (float)GetScreenHeight();
int strokeCount = 0;
Vector2 *hilbertPath = LoadHilbertPath(order, size, &strokeCount);
@ -73,7 +73,7 @@ int main(void)
else counter = strokeCount;
prevOrder = order;
prevSize = size;
prevSize = (int)size;
}
//----------------------------------------------------------------------------------