bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] Use uint32_t instead of unsigned32_t.


From: Samuel Thibault
Subject: Re: [PATCH] Use uint32_t instead of unsigned32_t.
Date: Sat, 19 Mar 2016 12:39:03 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Hello,

Flavio Cruz, on Tue 15 Mar 2016 05:48:48 -0400, wrote:
> * utils.c: Generate code using uint32_t.

How are we sure that stdint.h gets included?

Samuel
> ---
>  utils.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/utils.c b/utils.c
> index 4c2a87b..ccde966 100644
> --- a/utils.c
> +++ b/utils.c
> @@ -77,7 +77,7 @@ WriteBogusDefines(FILE *file)
>  
>      fprintf(file, "#define BAD_TYPECHECK(type, check) mig_unlikely (({\\\n");
>      fprintf(file,
> -         "  union { mach_msg_type_t t; unsigned32_t w; } _t, _c;\\\n");
> +         "  union { mach_msg_type_t t; uint32_t w; } _t, _c;\\\n");
>      fprintf(file,
>           "  _t.t = *(type); _c.t = *(check);_t.w != _c.w; }))\n");
>  }
> -- 
> 2.6.4
> 
> 

-- 
Samuel
<N> bon comment on fait de l'investigation pour savoir qui est le vilain ?
<s> on débranche le routeur et on regarde qui s'affole
 -+- #ens-mim administre -+-



reply via email to

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