diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-03 21:24:14 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-07-03 21:24:14 +0000 |
commit | 658259d5ab40d98ad8d5da12ef68505faf9eb61f (patch) | |
tree | 6b69884317eb11eeb3c148e357d967b3bffb5cd1 | |
parent | 6ba83be00861c21a6c52f26a4b8c906dcac2239d (diff) |
const happyness
-rw-r--r-- | sys/ddb/db_output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index 927a240e2df..22ed55c7761 100644 --- a/sys/ddb/db_output.c +++ b/sys/ddb/db_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_output.c,v 1.10 1997/05/29 03:00:21 mickey Exp $ */ +/* $OpenBSD: db_output.c,v 1.11 1997/07/03 21:24:13 niklas Exp $ */ /* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */ /* @@ -296,7 +296,7 @@ db_printf_guts(fmt, ap) for (;;) { padc = ' '; width = 0; - while ((ch = *(u_char *)fmt++) != '%') { + while ((ch = *(const u_char *)fmt++) != '%') { if (ch == '\0') return; db_putchar(ch); @@ -305,7 +305,7 @@ db_printf_guts(fmt, ap) ladjust = 0; sharpflag = 0; neg = 0; -reswitch: switch (ch = *(u_char *)fmt++) { +reswitch: switch (ch = *(const u_char *)fmt++) { case '0': padc = '0'; goto reswitch; |