Oh, indeed!
char c = '.';
becomes
char c = (char)'.';
Thanks and sorry for the noise.
Marco
On 22.06.2010 11:16, Pascal Cuoq wrote:
> Hello,
>
> On Jun 22, 2010, at 11:13 AM, Marco Trudel wrote:
>> void foo(int i, char c) {
>> foo('.', 2);
>> i = c;
>> c = i;
>> }
>>
>> becomes:
>>
>> void f
On Tue, Jun 22, 2010 at 11:13:34AM +0200, Marco Trudel wrote:
> Where I guess the call to foo should be "foo((int)'.', (char)2);". Does
> anyone already have a fix for that?
No fix yet, sorry.
Could you report it on the bug tracker please? This helps tracking open
bugs and squashing them in a r
Hello,
On Jun 22, 2010, at 11:13 AM, Marco Trudel wrote:
> void foo(int i, char c) {
> foo('.', 2);
> i = c;
> c = i;
> }
>
> becomes:
>
> void foo(int i, char c) {
> foo('.', (char)2);
> i = (int)c;
> c = (char)i;
> }
>
> Where I guess the call to foo should be "foo((int)'.',