summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 6744d997d..c775e0a65 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -4996,7 +4996,7 @@ static void gui_window_set_status(struct gui_window *g, const char *text)
if(utf8text == NULL) return;
GetAttr(GA_Width, g->shared->objects[GID_STATUS], (ULONG *)&size);
- chars = TextFit(&scrn->RastPort, utf8text, strlen(utf8text),
+ chars = TextFit(&scrn->RastPort, utf8text, (UWORD)strlen(utf8text),
&textex, NULL, 1, size - 4, scrn->RastPort.TxHeight);
utf8text[chars] = 0;