On Jan 05 2017, Alexandre Oliva <aol...@redhat.com> wrote:

> diff --git a/gcc/c-family/c-pretty-print.c b/gcc/c-family/c-pretty-print.c
> index 90428ca..07fdbae 100644
> --- a/gcc/c-family/c-pretty-print.c
> +++ b/gcc/c-family/c-pretty-print.c
> @@ -2400,7 +2400,7 @@ pp_c_tree_decl_identifier (c_pretty_printer *pp, tree t)
>    else
>      {
>        static char xname[8];
> -      sprintf (xname, "<U%4x>", ((unsigned)((uintptr_t)(t) & 0xffff)));
> +      sprintf (xname, "<U%4hx>", ((unsigned short)((uintptr_t)(t) & 
> 0xffff)));

Please fix the spacing while you are at it.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to