|
From: | Flávio Cruz |
Subject: | Re: [PATCH] Turn mach_msg_type_{name,size}_t into unsigned chars. |
Date: | Tue, 19 Apr 2016 02:11:50 +0200 |
Hello,
Flavio Cruz, on Tue 05 Apr 2016 02:08:44 +0200, wrote:
> --- a/include/mach/message.h
> +++ b/include/mach/message.h
> @@ -188,8 +188,8 @@ typedef struct {
> * a mach_msg_type_long_t should be zero.
> */
>
> -typedef unsigned int mach_msg_type_name_t;
> -typedef unsigned int mach_msg_type_size_t;
> +typedef unsigned char mach_msg_type_name_t;
> +typedef unsigned short mach_msg_type_size_t;
Looking at this again, I'm realizing that this would change the ABI
of a big lot of functions, those which have a mach_msg_type_name_t *
parameter. I don't think we can afford doing that :) Which warning do
you get, exactly?
Samuel
[Prev in Thread] | Current Thread | [Next in Thread] |