this patchset looks good

Regards
-steve

On Wed, 2009-04-08 at 18:53 +0200, Jim Meyering wrote:
> From: Jim Meyering <meyer...@redhat.com>
> 
> * include/corosync/coroipcc.h (coroipcc_msg_send_reply_receive):
> change type of res_len parameter.
> * lib/coroipcc.c (coroipcc_reply_receive): Likewise.
> ---
>  include/corosync/coroipcc.h |    2 +-
>  lib/coroipcc.c              |    4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/include/corosync/coroipcc.h b/include/corosync/coroipcc.h
> index fe91ed5..c92bdb0 100644
> --- a/include/corosync/coroipcc.h
> +++ b/include/corosync/coroipcc.h
> @@ -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 (
> diff --git a/lib/coroipcc.c b/lib/coroipcc.c
> index 5cf39f8..038ded8 100644
> --- a/lib/coroipcc.c
> +++ b/lib/coroipcc.c
> @@ -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;
> 

_______________________________________________
Openais mailing list
Openais@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to