Pass gint/guint pointers instead of enum pointers
authorScott D Phillips <scott.d.phillips@intel.com>
Thu, 17 Nov 2016 18:39:01 +0000 (10:39 -0800)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 18 Nov 2016 12:13:53 +0000 (09:13 -0300)
commitf203c01af2f441ebbbb91b4d8797e39dda42c371
tree60adeaa03944171c0a73386ca398b7fadaf3de43
parentf1dd6f4226f72e7a1e12931ac03fc683e9a0b67d
Pass gint/guint pointers instead of enum pointers

The underlying integer type for enums are implementation defined and may
not be the same size as gint/guint. So implicitly casting from pointers-
to-enum-types to pointers-to-int-types is unsafe. MSVC warns on these.

https://bugzilla.gnome.org/show_bug.cgi?id=774641
ges/ges-formatter.c
ges/ges-validate.c