This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [committed] PR 12749: i386 LP64 bug


On Sat, Dec 20, 2003 at 01:55:18PM -0800, Andrew Pinski wrote:
> -      fprintf (file, "0x%lx", l);
> +      fprintf (file, "0x%08lx", l);

This does not limit to 8 characters.  If you want that, 
you should & 0xffffffff.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]