source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: clarify the meaning of a complicated mixed signed/unsigned
@ 2021-09-19 18:07 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2021-09-19 18:07 UTC (permalink / raw)
  To: source

Log Message:
-----------
clarify the meaning of a complicated mixed signed/unsigned expression;
Thomas Klausner <wiz at NetBSD> reported a compiler warning

Modified Files:
--------------
    mandoc:
        roff_term.c

Revision Data
-------------
Index: roff_term.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/roff_term.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -Lroff_term.c -Lroff_term.c -u -p -r1.23 -r1.24
--- roff_term.c
+++ 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;
 }
 
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-19 18:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-19 18:07 mandoc: clarify the meaning of a complicated mixed signed/unsigned schwarze

source@mandoc.bsd.lv

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/mandoc-source

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 mandoc-source mandoc-source/ https://inbox.vuxu.org/mandoc-source \
		source@mandoc.bsd.lv
	public-inbox-index mandoc-source

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.mandoc.source


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git