aboutsummaryrefslogtreecommitdiffstats
path: root/troff/nroff.d/n6.c
diff options
context:
space:
mode:
Diffstat (limited to 'troff/nroff.d/n6.c')
-rw-r--r--troff/nroff.d/n6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/troff/nroff.d/n6.c b/troff/nroff.d/n6.c
index 3754bd939dff..a62101202ba9 100644
--- a/troff/nroff.d/n6.c
+++ b/troff/nroff.d/n6.c
@@ -101,7 +101,7 @@ width(register tchar j)
else if (iscontrol(i))
return(0);
}
- if (i==ohc)
+ if ((size_t)i==ohc)
return(0);
#ifdef EUC
if (multi_locale && i >= nchtab + _SPECCHAR_ST) {