bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Turn mach_msg_type_{name,size}_t into unsigned chars.


From: Samuel Thibault
Subject: Re: [PATCH] Turn mach_msg_type_{name,size}_t into unsigned chars.
Date: Sun, 10 Apr 2016 22:30:48 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]