summaryrefslogtreecommitdiff
path: root/raw.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-16 23:56:03 +0000
committerTed Lemon <source@isc.org>1996-05-16 23:56:03 +0000
commit48142f23856df3cf09e83d692d1e748b33f2a814 (patch)
treeede225eaa2e274da6659d325afd21c822bd5de53 /raw.c
parent58a4aa848dd24b00f178c4dc20251b7e52e8c209 (diff)
downloadisc-dhcp-48142f23856df3cf09e83d692d1e748b33f2a814.tar.gz
Fix pointer type incompatibilities
Diffstat (limited to 'raw.c')
-rw-r--r--raw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/raw.c b/raw.c
index 99187e12..03458ac9 100644
--- a/raw.c
+++ b/raw.c
@@ -121,9 +121,9 @@ size_t send_packet (interface, packet, raw, len, to, hto)
(unsigned char *)raw, len);
/* Fire it off */
- iov [0].iov_base = buf;
+ iov [0].iov_base = (char *)buf;
iov [0].iov_len = bufp;
- iov [1].iov_base = (unsigned char *)raw;
+ iov [1].iov_base = (char *)raw;
iov [1].iov_len = len;
return writev(interface -> wfdesc, iov, 2);