diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-04-26 20:13:23 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-04-26 20:13:23 +0000 |
commit | 95640319444d841f50b02ef8d23f918ffe3d55ef (patch) | |
tree | b6bbcbf4cad847271bbdef91a934e7d78e749c08 /usr.bin | |
parent | 5bccbfca82d1260102946f8dfc06b2ce5afd2cd0 (diff) |
use correct printf format for size_t (debug only code)
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/dc/bcode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/dc/bcode.c b/usr.bin/dc/bcode.c index c693febb202..0549872cfaf 100644 --- a/usr.bin/dc/bcode.c +++ b/usr.bin/dc/bcode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcode.c,v 1.35 2007/09/02 23:50:04 deraadt Exp $ */ +/* $OpenBSD: bcode.c,v 1.36 2008/04/26 20:13:22 otto Exp $ */ /* * Copyright (c) 2003, Otto Moerbeek <otto@drijf.net> @@ -17,7 +17,7 @@ */ #ifndef lint -static const char rcsid[] = "$OpenBSD: bcode.c,v 1.35 2007/09/02 23:50:04 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: bcode.c,v 1.36 2008/04/26 20:13:22 otto Exp $"; #endif /* not lint */ #include <ssl/ssl.h> @@ -1730,7 +1730,7 @@ eval(void) (void)fprintf(stderr, "# %c\n", ch); stack_print(stderr, &bmachine.stack, "* ", bmachine.obase); - (void)fprintf(stderr, "%d =>\n", bmachine.readsp); + (void)fprintf(stderr, "%zd =>\n", bmachine.readsp); #endif if (0 <= ch && ch < UCHAR_MAX) @@ -1741,7 +1741,7 @@ eval(void) #ifdef DEBUGGING stack_print(stderr, &bmachine.stack, "* ", bmachine.obase); - (void)fprintf(stderr, "%d ==\n", bmachine.readsp); + (void)fprintf(stderr, "%zd ==\n", bmachine.readsp); #endif } } |