Fix incorrect type assumption
authorTim Horton <hortont424@gmail.com>
Mon, 4 Jan 2010 05:56:29 +0000 (00:56 -0500)
committerTim Horton <hortont424@gmail.com>
Mon, 4 Jan 2010 06:09:31 +0000 (01:09 -0500)
commit07db8b4966ca85a256137d32eeca2a634f473825
tree5c3bbf3c0efbc74d285797f53b08400ff9b4a1b9
parent2723b3a122609b9de20dab1208bf3e6ac90d140c
Fix incorrect type assumption

seed_gi_argument_make_js was assuming that enums and flags are always longs,
which is (apparently) incorrect. Check the type and convert accordingly.
libseed/seed-types.c