From a5e19dfb50e6dc63795c2d2cad6c0b6be10c2826 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(-) 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 v1.2.3-56-ge451