mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
Type casts for Solaris, from Brian Murrell.
This commit is contained in:
@@ -437,7 +437,7 @@ isc_result_t omapi_connection_put_name (omapi_object_t *c, char *name)
|
|||||||
status = omapi_connection_put_uint16 (c, len);
|
status = omapi_connection_put_uint16 (c, len);
|
||||||
if (status != ISC_R_SUCCESS)
|
if (status != ISC_R_SUCCESS)
|
||||||
return status;
|
return status;
|
||||||
return omapi_connection_copyin (c, name, len);
|
return omapi_connection_copyin (c, (unsigned char *)name, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
isc_result_t omapi_connection_put_string (omapi_object_t *c, char *string)
|
isc_result_t omapi_connection_put_string (omapi_object_t *c, char *string)
|
||||||
@@ -450,7 +450,7 @@ isc_result_t omapi_connection_put_string (omapi_object_t *c, char *string)
|
|||||||
status = omapi_connection_put_uint32 (c, len);
|
status = omapi_connection_put_uint32 (c, len);
|
||||||
if (status != ISC_R_SUCCESS)
|
if (status != ISC_R_SUCCESS)
|
||||||
return status;
|
return status;
|
||||||
return omapi_connection_copyin (c, string, len);
|
return omapi_connection_copyin (c, (unsigned char *)string, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
isc_result_t omapi_connection_put_handle (omapi_object_t *c, omapi_object_t *h)
|
isc_result_t omapi_connection_put_handle (omapi_object_t *c, omapi_object_t *h)
|
||||||
|
Reference in New Issue
Block a user