summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 20:43:12 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-01-15 20:43:12 +0000
commit3ac1d78f419c71b4e9ea8a105ee48efc4ca164be (patch)
tree34bd08b76a6c7eff1176d5fb9f0c158180e66a66 /amiga/gui.c
parent6ad939b5a6e7807eaad78d5b2e0486c859740cf3 (diff)
downloadnetsurf-3ac1d78f419c71b4e9ea8a105ee48efc4ca164be.tar.gz
netsurf-3ac1d78f419c71b4e9ea8a105ee48efc4ca164be.tar.bz2
Fix some incorrect type usage
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;