GNOME Bugzilla – Bug 694187
double-typed constant where enum is expected
Last modified: 2013-02-20 23:34:50 UTC
Created attachment 236788 [details] [review] Fix return value type for clutter_actor_get_z_rotation_gravity Original report by Michael Tautschnig: http://bugs.debian.org/700931 “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.”
Thanks! I modified the patch to return the actual enumeration value, instead of just zero.