diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 18:07:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-09-19 18:07:09 +0000 |
commit | e0e262ba899c1771d2c72c3dc9e5c913089f55f0 (patch) | |
tree | e1a96f874fd661203492abf6c5dee225ecba6657 | |
parent | 3a6b7176cf6e7fceaf44a89ca6925af53bc13f12 (diff) | |
download | mandoc-e0e262ba899c1771d2c72c3dc9e5c913089f55f0.tar.gz |
clarify the meaning of a complicated mixed signed/unsigned expression;
Thomas Klausner <wiz at NetBSD> reported a compiler warning
-rw-r--r-- | roff_term.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |