git.ckatri.com
/
mandoc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b52d21c
)
clarify the meaning of a complicated mixed signed/unsigned expression;
author
Ingo Schwarze
<schwarze@openbsd.org>
Sun, 19 Sep 2021 18:07:09 +0000
(18:07 +0000)
committer
Ingo Schwarze
<schwarze@openbsd.org>
Sun, 19 Sep 2021 18:07:09 +0000
(18:07 +0000)
Thomas Klausner <wiz at NetBSD> reported a compiler warning
roff_term.c
patch
|
blob
|
history
diff --git
a/roff_term.c
b/roff_term.c
index 771472d6336d1a3b4aee1eb239c4030a3eba86fe..115d850fb261594f00b464726186b954b5ccc87b 100644
(file)
--- 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;
}