summaryrefslogtreecommitdiff
path: root/src/ui/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/text.c')
-rw-r--r--src/ui/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/text.c b/src/ui/text.c
index 65c7a256..7bb65bdc 100644
--- a/src/ui/text.c
+++ b/src/ui/text.c
@@ -668,7 +668,7 @@ static iChar nextChar_(const char **chPos, const char *end) {
668} 668}
669 669
670static enum iFontId fontId_Text_(const iFont *font) { 670static enum iFontId fontId_Text_(const iFont *font) {
671 return font - text_.fonts; 671 return (enum iFontId) (font - text_.fonts);
672} 672}
673 673
674iLocalDef iBool isWrapBoundary_(iChar prevC, iChar c) { 674iLocalDef iBool isWrapBoundary_(iChar prevC, iChar c) {