Re: [Vala] auto-cast int to char ?



Am Dienstag, den 14.08.2007, 16:28 +0200 schrieb Xavier Bestel:
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 ?

Guess somehow this is wanted, as Vala also knows int8 as type.
Well, but nevertheless you've found a bug somehow: As replacing "char"
in your code with "int8" also doesn't work. Not even with explicit
casts.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias hasselmann gmx de>
http://taschenorakel.de/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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