Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER
from vtysh ([quagga-dev 932]).
diff --git a/ospf6d/ospf6_damp.c b/ospf6d/ospf6_damp.c
index 878c48f..40cf798 100644
--- a/ospf6d/ospf6_damp.c
+++ b/ospf6d/ospf6_damp.c
@@ -279,7 +279,7 @@
gettimeofday (&now, NULL);
zlog_info ("DAMP: %lu.%06lu stop damping: %ld: type: %d, name: %s",
now.tv_sec, now.tv_usec,
- t_now, di->type, namebuf);
+ (long)t_now, di->type, namebuf);
}
/* set flag indicates that we're damping this target */
@@ -435,7 +435,7 @@
gettimeofday (&now, NULL);
zlog_info ("DAMP: %lu.%06lu stop damping: %ld: type: %d, name: %s",
now.tv_sec, now.tv_usec,
- t_now, di->type, namebuf);
+ (long)t_now, di->type, namebuf);
}
di->damping = OFF;
}
@@ -450,7 +450,7 @@
gettimeofday (&now, NULL);
zlog_info ("DAMP: %lu.%06lu start damping: %ld: type: %d, name: %s",
now.tv_sec, now.tv_usec,
- t_now, type, namebuf);
+ (long)t_now, type, namebuf);
}
di->damping = ON;
}
@@ -471,7 +471,7 @@
gettimeofday (&now, NULL);
zlog_info ("DAMP: %lu.%06lu start damping: %ld: type: %d, name: %s",
now.tv_sec, now.tv_usec,
- t_now, type, namebuf);
+ (long) t_now, type, namebuf);
}
di->damping = ON;
}