GNOME Bugzilla – Bug 434507
Implicit integer conversion in relational operations
Last modified: 2008-10-18 14:38:41 UTC
> For example: > > foo(uchar b) { > if (b > 0) { > } > } > > Currently gives an error for the comparison of 'b' and '0' unless I > cast 0 to uchar. That should certainly be fixed, we'll have to check how to handle such conversions in general.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
test case added in vala-tests