mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-26 00:59:16 -05:00
Fixes for 64 bit typecast warnings (#1733)
This commit is contained in:
@ -52,8 +52,8 @@ int main(void)
|
||||
|
||||
for (int i = 0; i < MAX_FONTS; i++)
|
||||
{
|
||||
positions[i].x = screenWidth/2.0f - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, spacings[i]).x/2.0f;
|
||||
positions[i].y = 60 + fonts[i].baseSize + 45*i;
|
||||
positions[i].x = screenWidth/2.0f - MeasureTextEx(fonts[i], messages[i], fonts[i].baseSize*2.0f, (float)spacings[i]).x/2.0f;
|
||||
positions[i].y = 60.0f + fonts[i].baseSize + 45.0f*i;
|
||||
}
|
||||
|
||||
// Small Y position corrections
|
||||
|
||||
Reference in New Issue
Block a user