[Vala] auto-cast int to char ?



Hi,

vala complains when doing:

char i;
for(i = 0; i < 10; i++)

because it can't cast an int to char. Adding explicit casts works, but
is that really wanted ?

Thanks,
        Xav






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