This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Fix typo in type of parameter "w" in print_wchar...
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 7 May 2009 13:48:18 -0700
- Subject: Re: [RFA] Fix typo in type of parameter "w" in print_wchar...
- References: <20090425003658.GA32745@adacore.com> <200904250849.n3P8n5BU002469@brahms.sibelius.xs4all.nl> <20090507183753.GE659@adacore.com> <200905071852.n47IqbtU010728@brahms.sibelius.xs4all.nl>
> > + gdb_wchar_t wchar = (gdb_wchar_t) w;
>
> Is that cast necessary?
Probably not. I just assumed I needed one, I don't know why.
> Otherwise, this looks excellent to me.
Thanks! I'll wait for a few more days to give Tom some time to comment
on this as well, and then commit (with the cast removed).
--
Joel