aboutsummaryrefslogtreecommitdiffstats
path: root/troff/n9.c
diff options
context:
space:
mode:
Diffstat (limited to 'troff/n9.c')
-rw-r--r--troff/n9.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/troff/n9.c b/troff/n9.c
index 9e81a65120c7..eb861405a189 100644
--- a/troff/n9.c
+++ b/troff/n9.c
@@ -100,7 +100,7 @@ setz(void)
static int
connectchar(tchar i)
{
- int *cp, c;
+ size_t *cp, c;
c = cbits(i);
if (*connectch) {
@@ -109,7 +109,7 @@ connectchar(tchar i)
return 1;
return 0;
}
- return c == RULE || c == UNDERLINE || c == ROOTEN;
+ return c == (size_t)RULE || c == (size_t)UNDERLINE || c == (size_t)ROOTEN;
}
void
@@ -905,8 +905,8 @@ psskip(struct fg *fp, size_t n)
static int
psgetline(struct fg *fp, char **linebp, size_t *linesize)
{
- int i, n = 0;
- int nl = 0;
+ size_t n = 0;
+ int i, nl = 0;
if (fp->bp == NULL)
fp->bp = fp->buf;