summaryrefslogtreecommitdiffstats
path: root/tc/tc_util.c
diff options
context:
space:
mode:
authorosdl.net!shemminger <osdl.net!shemminger>2005-03-10 19:04:17 +0000
committerosdl.net!shemminger <osdl.net!shemminger>2005-03-10 19:04:17 +0000
commit63ae25d0edc8f05308edfcb8916914fa11374f92 (patch)
tree184dde8e5447f8bed5c780478e73d3cac90c798a /tc/tc_util.c
parent0bee21b927951d4cabd9a9af4c99651cd6157abb (diff)
Build warning fix
(Logical change 1.153)
Diffstat (limited to 'tc/tc_util.c')
-rw-r--r--tc/tc_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tc/tc_util.c b/tc/tc_util.c
index a6413e66..889d16cc 100644
--- a/tc/tc_util.c
+++ b/tc/tc_util.c
@@ -423,11 +423,11 @@ void print_tm(FILE * f, const struct tcf_t *tm)
{
int hz = get_hz();
if (tm->install != 0)
- fprintf(f, " installed %d sec", tm->install/hz);
+ fprintf(f, " installed %u sec", (unsigned)(tm->install/hz));
if (tm->lastuse != 0)
- fprintf(f, " used %d sec", tm->lastuse/hz);
+ fprintf(f, " used %u sec", (unsigned)(tm->lastuse/hz));
if (tm->expires != 0)
- fprintf(f, " expires %d sec", tm->expires/hz);
+ fprintf(f, " expires %u sec", (unsigned)(tm->expires/hz));
}
void print_tcstats2_attr(FILE *fp, struct rtattr *rta, char *prefix, struct rtattr **xstats)