From: Ted Lemon Date: Tue, 23 Nov 1999 19:07:17 +0000 (+0000) Subject: Fix calls to omapi_protocol_connect and omapi_protocol_listen. X-Git-Tag: BCTEL_SPECIAL_19991124~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a33113c50e8a51d8d5466f229631b2733b3249;p=thirdparty%2Fdhcp.git Fix calls to omapi_protocol_connect and omapi_protocol_listen. --- diff --git a/omapip/test.c b/omapip/test.c index d8065d941..cea562d94 100644 --- a/omapip/test.c +++ b/omapip/test.c @@ -47,7 +47,7 @@ int main (int argc, char **argv) exit (1); } status = omapi_protocol_listen (listener, - atoi (argv [2]), 1); + (unsigned)atoi (argv [2]), 1); if (status != ISC_R_SUCCESS) { fprintf (stderr, "omapi_listen: %s\n", isc_result_totext (status)); @@ -66,7 +66,8 @@ int main (int argc, char **argv) exit (1); } status = omapi_protocol_connect (connection, - argv [2], atoi (argv [3]), 0); + argv [2], + (unsigned)atoi (argv [3]), 0); fprintf (stderr, "connect: %s\n", isc_result_totext (status)); if (status != ISC_R_SUCCESS) exit (1);