diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-04-10 15:23:28 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2019-04-10 15:23:28 +0000 |
commit | 7a3d9ba74e93997516cad83a9cb29c5b15ef04b4 (patch) | |
tree | 6dd86cdf25083833c17d233f404cea3137028f6b /usr.sbin | |
parent | 490bccbffaa77f1c31446036971b55eff0759f47 (diff) |
Instead of a (ulong) case just use %zu in printf and remove the cast.
Helps portable.
OK deraadt@
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/bgpctl/irr_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/irr_parser.c b/usr.sbin/bgpctl/irr_parser.c index e5598c35643..bd415a79dfe 100644 --- a/usr.sbin/bgpctl/irr_parser.c +++ b/usr.sbin/bgpctl/irr_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: irr_parser.c,v 1.14 2015/04/25 21:44:26 phessler Exp $ */ +/* $OpenBSD: irr_parser.c,v 1.15 2019/04/10 15:23:27 claudio Exp $ */ /* * Copyright (c) 2007 Henning Brauer <henning@openbsd.org> @@ -107,7 +107,7 @@ grow_parsebuf(void) parsebuflen = newlen; if (0) - fprintf(stderr, "parsebuf now %lu bytes\n", (ulong)parsebuflen); + fprintf(stderr, "parsebuf now %zu bytes\n", parsebuflen); } char * |