2010/11/28 Jiří Zárevúcky <[email protected]>:
> You need to cast it like this:
>  (0 == number) ? null : (int?) 1
>
> or
>  int? i = 1;
>  (0 == number) ? null : i
>

Thank you. That's it of course.

cheers
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to