summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/utf8.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utf8.cxx b/test/utf8.cxx
index f77245597..eab5a547a 100644
--- a/test/utf8.cxx
+++ b/test/utf8.cxx
@@ -577,7 +577,7 @@ int main(int argc, char** argv)
latin1, (unsigned int)strlen(latin1));
utf8[l] = '\0';
strcat(utf8, emoji);
- l = strlen(utf8);
+ l = (int)strlen(utf8);
make_font_chooser();
extra_font = FL_TIMES_BOLD_ITALIC;