mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-27 03:13:34 +00:00
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:
parent
6b9505992f
commit
41b1ba0e77
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user