diff options
author | Ted Lemon <source@isc.org> | 2000-08-25 18:46:20 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-08-25 18:46:20 +0000 |
commit | 06f0ed0687487260d7e18601a8263f817cdec9b9 (patch) | |
tree | 074a4360a60bd2cac438b15a9a8e19b1c5832f6b /dhcpctl | |
parent | b08234e9c71eac458689a61ae7cc55a96070c502 (diff) | |
download | isc-dhcp-06f0ed0687487260d7e18601a8263f817cdec9b9.tar.gz |
Really fix a couple of compile warnings on Tru64 5.0
Diffstat (limited to 'dhcpctl')
-rw-r--r-- | dhcpctl/cltest.c | 3 | ||||
-rw-r--r-- | dhcpctl/test.c | 3 |
2 files changed, 4 insertions, 2 deletions
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 <sys/time.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <stdarg.h> #include <isc/result.h> #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 <stdio.h> #include <stdlib.h> #include <stdarg.h> +#include <string.h> #include <isc/result.h> #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)); |