tests: avoid GPOINTER_TO_INT with GType
commitd8561c665254dd6f8d73f2d2f5cc92df4a59e570
authorNicola Fontana <ntd@entidi.it>
Sat, 7 Feb 2015 21:25:02 +0000 (7 22:25 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 7 Feb 2015 21:25:02 +0000 (7 22:25 +0100)
treecb839f6dc01b6b8ae8a68dd0d6f6b840bd5abb59
parent36dff1092a742f7ff06c67ace22043f963f4cdcf
tests: avoid GPOINTER_TO_INT with GType

GType can be greater than a pointer so it should not be converted to
pointer. On FreeBSD, for example, it is an unsigned long.
src/tests/adg-test.c