summaryrefslogtreecommitdiff
path: root/omapip/buffer.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-09-16 00:59:01 +0000
committerTed Lemon <source@isc.org>1999-09-16 00:59:01 +0000
commit5e3beae3a33bd27d4ef17b6bb86db554ae2a3aa4 (patch)
tree0223241b7d1733ce8183010d7a7017d86109a258 /omapip/buffer.c
parent32e4f7764452e46f5909a50019e39d70b4ff3a5a (diff)
downloadisc-dhcp-5e3beae3a33bd27d4ef17b6bb86db554ae2a3aa4.tar.gz
Type casts for Solaris, from Brian Murrell.
Diffstat (limited to 'omapip/buffer.c')
-rw-r--r--omapip/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/omapip/buffer.c b/omapip/buffer.c
index 477a2ce1..5c6f99c2 100644
--- a/omapip/buffer.c
+++ b/omapip/buffer.c
@@ -437,7 +437,7 @@ isc_result_t omapi_connection_put_name (omapi_object_t *c, char *name)
status = omapi_connection_put_uint16 (c, len);
if (status != ISC_R_SUCCESS)
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)
@@ -450,7 +450,7 @@ isc_result_t omapi_connection_put_string (omapi_object_t *c, char *string)
status = omapi_connection_put_uint32 (c, len);
if (status != ISC_R_SUCCESS)
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)