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));
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);