]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a couple of compile warnings on Tru64 5.0
authorTed Lemon <source@isc.org>
Fri, 25 Aug 2000 18:28:28 +0000 (18:28 +0000)
committerTed Lemon <source@isc.org>
Fri, 25 Aug 2000 18:28:28 +0000 (18:28 +0000)
dhcpctl/cltest.c
dhcpctl/test.c

index bb5c0e2fee79d00e3710a27d03c91835e5a0ef19..15cedb2b29fe80ede543a83fe985cee762631c6c 100644 (file)
@@ -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));
index 9ce243d258cb9d8e8a2ff98d26665e8514e111a7..9f39b34aa879c5a75882707d18586aea2bdc9aee 100644 (file)
@@ -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));