2010/11/28 Jiří Zárevúcky <zarevucky.j...@gmail.com>:
> 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
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to