From 06f0ed0687487260d7e18601a8263f817cdec9b9 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 25 Aug 2000 18:46:20 +0000 Subject: Really fix a couple of compile warnings on Tru64 5.0 --- dhcpctl/cltest.c | 3 ++- dhcpctl/test.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'dhcpctl') diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c index 15cedb2b..7e048ebe 100644 --- a/dhcpctl/cltest.c +++ b/dhcpctl/cltest.c @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include "dhcpctl.h" @@ -114,7 +115,7 @@ int main (argc, argv) if (name) { status = dhcpctl_new_authenticator (&authenticator, name, algorithm, pass, - (int)strlen (pass) + 1); + strlen (pass) + 1); if (status != ISC_R_SUCCESS) { fprintf (stderr, "Cannot create authenticator: %s\n", isc_result_totext (status)); diff --git a/dhcpctl/test.c b/dhcpctl/test.c index 9f39b34a..c4c91ed9 100644 --- a/dhcpctl/test.c +++ b/dhcpctl/test.c @@ -46,6 +46,7 @@ #include #include #include +#include #include #include "dhcpctl.h" @@ -104,7 +105,7 @@ int main (argc, argv) if (name) { status = dhcpctl_new_authenticator (&authenticator, name, algorithm, pass, - (int)strlen (pass) + 1); + strlen (pass) + 1); if (status != ISC_R_SUCCESS) { fprintf (stderr, "Cannot create authenticator: %s\n", isc_result_totext (status)); -- cgit v1.2.1