diff --git a/exec/coroipcs.c b/exec/coroipcs.c index 4be798f3..ddf3d4fe 100644 --- a/exec/coroipcs.c +++ b/exec/coroipcs.c @@ -654,7 +654,7 @@ static int shared_mem_dispatch_bytes_left (struct conn_info *conn_info) static int memcpy_dwrap (struct conn_info *conn_info, void *msg, int len) { char *dest_char = (char *)conn_info->mem->dispatch_buffer; - char *src_char = (char *)msg; + char *src_char = msg; unsigned int first_write; unsigned int second_write; diff --git a/lib/coroipcc.c b/lib/coroipcc.c index 00ca5dd5..c7ac176c 100644 --- a/lib/coroipcc.c +++ b/lib/coroipcc.c @@ -113,7 +113,7 @@ coroipcc_send ( int result; struct msghdr msg_send; struct iovec iov_send; - char *rbuf = (char *)msg; + char *rbuf = msg; int processed = 0; msg_send.msg_iov = &iov_send; @@ -190,7 +190,7 @@ coroipcc_recv ( int result; struct msghdr msg_recv; struct iovec iov_recv; - char *rbuf = (char *)msg; + char *rbuf = msg; int processed = 0; msg_recv.msg_iov = &iov_recv;