mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-03 23:15:15 +00:00
coroipcc.h (coroipcc_msg_send_reply_receive): Make res_len size_t.
* include/corosync/coroipcc.h (coroipcc_msg_send_reply_receive): change type of res_len parameter. * lib/coroipcc.c (coroipcc_reply_receive): Likewise. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2045 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
3df307a36d
commit
a44f4e70e6
@ -98,7 +98,7 @@ coroipcc_msg_send_reply_receive (
|
||||
const struct iovec *iov,
|
||||
unsigned int iov_len,
|
||||
void *res_msg,
|
||||
int res_len);
|
||||
size_t res_len);
|
||||
|
||||
cs_error_t
|
||||
coroipcc_msg_send_reply_receive_in_buf (
|
||||
|
@ -620,7 +620,7 @@ retry_semop:
|
||||
static cs_error_t
|
||||
coroipcc_reply_receive (
|
||||
void *ipc_context,
|
||||
void *res_msg, int res_len)
|
||||
void *res_msg, size_t res_len)
|
||||
{
|
||||
struct sembuf sop;
|
||||
struct ipc_segment *ipc_segment = (struct ipc_segment *)ipc_context;
|
||||
@ -691,7 +691,7 @@ coroipcc_msg_send_reply_receive (
|
||||
const struct iovec *iov,
|
||||
unsigned int iov_len,
|
||||
void *res_msg,
|
||||
int res_len)
|
||||
size_t res_len)
|
||||
{
|
||||
cs_error_t res;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user