Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/xlint/lint1 lint: fix typos in comment



details:   https://anonhg.NetBSD.org/src/rev/37a719d40f6e
branches:  trunk
changeset: 984244:37a719d40f6e
user:      rillig <rillig%NetBSD.org@localhost>
date:      Tue Jun 29 10:12:35 2021 +0000

description:
lint: fix typos in comment

diffstat:

 usr.bin/xlint/lint1/tree.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 5ca79ed4dc34 -r 37a719d40f6e usr.bin/xlint/lint1/tree.c
--- a/usr.bin/xlint/lint1/tree.c        Tue Jun 29 10:02:34 2021 +0000
+++ b/usr.bin/xlint/lint1/tree.c        Tue Jun 29 10:12:35 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tree.c,v 1.294 2021/06/28 11:27:00 rillig Exp $        */
+/*     $NetBSD: tree.c,v 1.295 2021/06/29 10:12:35 rillig Exp $        */
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: tree.c,v 1.294 2021/06/28 11:27:00 rillig Exp $");
+__RCSID("$NetBSD: tree.c,v 1.295 2021/06/29 10:12:35 rillig Exp $");
 #endif
 
 #include <float.h>
@@ -2257,9 +2257,9 @@
  * of unsigned types or all truncated bits plus the
  * msb of the target for signed types are considered
  * to be significant bits. Loss of significant bits
- * means that at least on of the bits was set in an
- * unsigned type or that at least one, but not all of
- * the bits was set in an signed type.
+ * means that at least one of the bits was set in an
+ * unsigned type or that at least one but not all of
+ * the bits was set in a signed type.
  * Loss of significant bits means that it is not
  * possible, also not with necessary casts, to convert
  * back to the original type. A example for a



Home | Main Index | Thread Index | Old Index