Fix warnings in visual studio
This commit is contained in:
parent
386bf890a0
commit
0280279a56
1 changed files with 21 additions and 21 deletions
|
|
@ -2655,7 +2655,7 @@ int GuiTextBox(Rectangle bounds, char *text, int bufferSize, bool editMode)
|
|||
if (GetMousePosition().x >= (textBounds.x + textEndWidth - glyphWidth/2))
|
||||
{
|
||||
mouseCursor.x = textBounds.x + textEndWidth;
|
||||
mouseCursorIndex = strlen(text);
|
||||
mouseCursorIndex = (int)strlen(text);
|
||||
}
|
||||
|
||||
// Place cursor at required index on mouse click
|
||||
|
|
|
|||
Loading…
Reference in a new issue