From: Ted Lemon Date: Fri, 25 Aug 2000 18:46:20 +0000 (+0000) Subject: Really fix a couple of compile warnings on Tru64 5.0 X-Git-Tag: V3-BETA-2-PATCH-1~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06f0ed0687487260d7e18601a8263f817cdec9b9;p=thirdparty%2Fdhcp.git Really fix a couple of compile warnings on Tru64 5.0 --- diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c index 15cedb2b2..7e048ebea 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 9f39b34aa..c4c91ed94 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));