Bug#700931: double-typed constant where enum is expected

Michael Tautschnig mt at debian.org
Tue Feb 19 13:51:43 UTC 2013


Package: clutter-1.0
Version: 1.10.8-2
Severity: minor
Usertags: goto-cc

While building the package using our research compiler infrastructure, which
also performs more strict type checking, we noticed the following possible
problem:

Function clutter_actor_get_z_rotation_gravity of clutter/clutter-actor.c returns
0.0 in case of an error, while it is expected to return an enum-typed value.

The constant should be 0 instead, to be of type int.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130219/59cbd585/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list