Permalink
Browse files

-Wall -Werror clean.

  • Loading branch information...
1 parent 070a34a commit 9278a75f74ec6955f131b3946c069033d56d4881 itojun committed Apr 30, 2000
Showing with 5 additions and 7 deletions.
  1. +3 −4 kame/kame/pim6dd/debug.c
  2. +2 −3 kame/kame/pim6sd/debug.c
View
@@ -34,7 +34,7 @@
* Questions concerning this software should be directed to
* Pavlin Ivanov Radoslavov (pavlin@catarina.usc.edu)
*
- * $Id: debug.c,v 1.6 2000/04/30 10:50:31 jinmei Exp $
+ * $Id: debug.c,v 1.7 2000/04/30 14:45:07 itojun Exp $
*/
/*
* Part of this program has been derived from mrouted.
@@ -423,7 +423,6 @@ dump_mldqueriers(fp)
{
struct uvif *v;
vifi_t vifi;
- pim_nbr_entry_t *n;
time_t now;
fprintf(fp, "MLD Querier List\n");
@@ -437,9 +436,9 @@ dump_mldqueriers(fp)
(v->uv_flags & MIFF_REGISTER) ? "regist":
v->uv_name);
- fprintf(fp, " %-40s %5u %15s\n",
+ fprintf(fp, " %-40s %5lu %15s\n",
inet6_fmt(&v->uv_querier->al_addr.sin6_addr),
- v->uv_querier->al_timer,
+ (u_long)v->uv_querier->al_timer,
sec2str(now - v->uv_querier->al_ctime));
}
}
View
@@ -540,7 +540,6 @@ dump_mldqueriers(fp)
{
struct uvif *v;
vifi_t vifi;
- pim_nbr_entry_t *n;
time_t now;
fprintf(fp, "MLD Querier List\n");
@@ -554,9 +553,9 @@ dump_mldqueriers(fp)
(v->uv_flags & MIFF_REGISTER) ? "regist":
v->uv_name);
- fprintf(fp, " %-40s %5u %15s\n",
+ fprintf(fp, " %-40s %5lu %15s\n",
inet6_fmt(&v->uv_querier->al_addr.sin6_addr),
- v->uv_querier->al_timer,
+ (u_long)v->uv_querier->al_timer,
sec2str(now - v->uv_querier->al_ctime));
}
}

0 comments on commit 9278a75

Please sign in to comment.