Fixes for 64 bit typecast warnings (#1733)
This commit is contained in:
parent
8719858655
commit
6c518008a5
18 changed files with 68 additions and 68 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue