remove 3 useless casts

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2005 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Jim Meyering 2009-04-03 20:31:45 +00:00
parent 6b9505992f
commit 41b1ba0e77
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;