From: Ted Lemon Date: Fri, 25 Aug 2000 18:28:28 +0000 (+0000) Subject: Fix a couple of compile warnings on Tru64 5.0 X-Git-Tag: V3-BETA-2-PATCH-1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b08234e9c71eac458689a61ae7cc55a96070c502;p=thirdparty%2Fdhcp.git Fix a couple of compile warnings on Tru64 5.0 --- diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c index bb5c0e2fe..15cedb2b2 100644 --- a/dhcpctl/cltest.c +++ b/dhcpctl/cltest.c @@ -114,7 +114,7 @@ int main (argc, argv) if (name) { status = dhcpctl_new_authenticator (&authenticator, name, algorithm, pass, - strlen (pass) + 1); + (int)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 9ce243d25..9f39b34aa 100644 --- a/dhcpctl/test.c +++ b/dhcpctl/test.c @@ -104,7 +104,7 @@ int main (argc, argv) if (name) { status = dhcpctl_new_authenticator (&authenticator, name, algorithm, pass, - strlen (pass) + 1); + (int)strlen (pass) + 1); if (status != ISC_R_SUCCESS) { fprintf (stderr, "Cannot create authenticator: %s\n", isc_result_totext (status));