aboutsummaryrefslogtreecommitdiffstats
path: root/troff/n8.c
diff options
context:
space:
mode:
Diffstat (limited to 'troff/n8.c')
-rw-r--r--troff/n8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/troff/n8.c b/troff/n8.c
index 65e9a1b01b8a..72178d263bb1 100644
--- a/troff/n8.c
+++ b/troff/n8.c
@@ -122,7 +122,7 @@ hyphen(tchar *wp)
i = _wdstart = wdstart;
_wdend = wdend;
do {
- if (cbits(*i) == '-' || cbits(*i) == EMDASH ||
+ if (cbits(*i) == '-' || cbits(*i) == (size_t)EMDASH ||
i == _wdend) {
while (wdstart <= i && (punct(*wdstart) ||
(cbits(*wdstart) >= '0' &&