From dbaaec4d498e5726f00097e0985e9e8a991ccda6 Mon Sep 17 00:00:00 2001 From: jca Date: Sat, 20 Aug 2016 15:05:52 +0000 Subject: [PATCH] Move counters from u_quad_t to uint64_t. Printing is already done with %llu/(unsigned long long) casts. --- usr.sbin/rtadvd/rtadvd.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.sbin/rtadvd/rtadvd.h b/usr.sbin/rtadvd/rtadvd.h index b396a4ff73d..3dcd89e51bc 100644 --- a/usr.sbin/rtadvd/rtadvd.h +++ b/usr.sbin/rtadvd/rtadvd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rtadvd.h,v 1.26 2016/08/02 17:00:09 jca Exp $ */ +/* $OpenBSD: rtadvd.h,v 1.27 2016/08/20 15:05:52 jca Exp $ */ /* $KAME: rtadvd.h,v 1.20 2002/05/29 10:13:10 itojun Exp $ */ /* @@ -160,10 +160,10 @@ struct rainfo { u_char *ra_data; /* statistics */ - u_quad_t raoutput; /* number of RAs sent */ - u_quad_t rainput; /* number of RAs received */ - u_quad_t rainconsistent; /* number of RAs inconsistent with ours */ - u_quad_t rsinput; /* number of RSs received */ + uint64_t raoutput; /* number of RAs sent */ + uint64_t rainput; /* number of RAs received */ + uint64_t rainconsistent; /* number of RAs inconsistent with ours */ + uint64_t rsinput; /* number of RSs received */ }; SLIST_HEAD(ralist, rainfo); -- 2.20.1