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/raygui.h | |
| parent | fc21a8e552c452804838bfbbbaadaf044a74b81e (diff) | |
| download | raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.tar.gz raylib-6cd37e57a6b38bb06cc54ecf6aa7659d4895723b.zip | |
Fix warnings in visual studio (#3512)
Diffstat (limited to 'examples/shapes/raygui.h')
| -rw-r--r-- | examples/shapes/raygui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shapes/raygui.h b/examples/shapes/raygui.h index 4ae0a26d..91277102 100644 --- a/examples/shapes/raygui.h +++ b/examples/shapes/raygui.h @@ -2653,7 +2653,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 |
