From e0e262ba899c1771d2c72c3dc9e5c913089f55f0 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 19 Sep 2021 18:07:09 +0000 Subject: clarify the meaning of a complicated mixed signed/unsigned expression; Thomas Klausner reported a compiler warning --- roff_term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roff_term.c') diff --git a/roff_term.c b/roff_term.c index 771472d6..115d850f 100644 --- a/roff_term.c +++ b/roff_term.c @@ -181,7 +181,7 @@ roff_term_pre_po(ROFF_TERM_ARGS) /* Truncate to the range [-offset, 60], remember, and apply it. */ pouse = po >= 60 ? 60 : - po < -(int)p->tcol->offset ? -p->tcol->offset : po; + po < -(int)p->tcol->offset ? -(int)p->tcol->offset : po; p->tcol->offset += pouse; } -- cgit