From: Jim Meyering <[email protected]>
---
exec/coroipcs.c | 2 +-
lib/coroipcc.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/exec/coroipcs.c b/exec/coroipcs.c
index 4be798f..ddf3d4f 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 00ca5dd..c7ac176 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;
--
1.6.2.rc1.285.gc5f54
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais