summaryrefslogtreecommitdiffhomepage
path: root/examples/shapes/raygui.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shapes/raygui.h')
-rw-r--r--examples/shapes/raygui.h2
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