From 3ac1d78f419c71b4e9ea8a105ee48efc4ca164be Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 15 Jan 2016 20:43:12 +0000 Subject: Fix some incorrect type usage --- amiga/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'amiga/gui.c') 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; -- cgit v1.2.3