summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Rabson <dfr@FreeBSD.org>1998-06-08 08:43:20 +0000
committerDoug Rabson <dfr@FreeBSD.org>1998-06-08 08:43:20 +0000
commitaebed8b0bafba0f8a6b7dcbcaec356ea422b943f (patch)
tree2723e99580d56dbe9f68a75ad986462769a0c01c
parent65b4c10030ae2e08e461e1fc8b31915fd03e5ee8 (diff)
Notes
-rw-r--r--sys/amd64/amd64/db_interface.c4
-rw-r--r--sys/ddb/db_examine.c4
-rw-r--r--sys/i386/i386/db_interface.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/db_interface.c b/sys/amd64/amd64/db_interface.c
index 1889d0a2a644..1604d4675f5b 100644
--- a/sys/amd64/amd64/db_interface.c
+++ b/sys/amd64/amd64/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.38 1997/11/20 18:09:36 bde Exp $
+ * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
*/
/*
@@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
- while (--size >= 0)
+ while (size-- != 0)
*data++ = *src++;
db_nofault = 0;
diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c
index 3214f61f096b..a848ac77db09 100644
--- a/sys/ddb/db_examine.c
+++ b/sys/ddb/db_examine.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_examine.c,v 1.17 1997/04/01 14:31:05 bde Exp $
+ * $Id: db_examine.c,v 1.18 1998/06/07 17:09:37 dfr Exp $
*/
/*
@@ -257,7 +257,7 @@ db_search_cmd(dummy1, dummy2, dummy3, dummy4)
int size;
db_expr_t value;
db_expr_t mask;
- db_expr_t count;
+ unsigned int count;
t = db_read_token();
if (t == tSLASH) {
diff --git a/sys/i386/i386/db_interface.c b/sys/i386/i386/db_interface.c
index 1889d0a2a644..1604d4675f5b 100644
--- a/sys/i386/i386/db_interface.c
+++ b/sys/i386/i386/db_interface.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_interface.c,v 1.38 1997/11/20 18:09:36 bde Exp $
+ * $Id: db_interface.c,v 1.39 1998/06/07 17:09:58 dfr Exp $
*/
/*
@@ -221,7 +221,7 @@ db_read_bytes(addr, size, data)
db_nofault = &db_jmpbuf;
src = (char *)addr;
- while (--size >= 0)
+ while (size-- != 0)
*data++ = *src++;
db_nofault = 0;