Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGER
from vtysh ([quagga-dev 932]).
diff --git a/lib/keychain.c b/lib/keychain.c
index dbf431a..527da05 100644
--- a/lib/keychain.c
+++ b/lib/keychain.c
@@ -921,7 +921,7 @@
vty_out (vty, " infinite");
else if (key->accept.duration)
vty_out (vty, " duration %ld",
- key->accept.end - key->accept.start);
+ (long)(key->accept.end - key->accept.start));
else
{
keychain_strftime (buf, BUFSIZ, &key->accept.end);
@@ -938,7 +938,7 @@
if (key->send.end == -1)
vty_out (vty, " infinite");
else if (key->send.duration)
- vty_out (vty, " duration %ld", key->send.end - key->send.start);
+ vty_out (vty, " duration %ld", (long)(key->send.end - key->send.start));
else
{
keychain_strftime (buf, BUFSIZ, &key->send.end);