gobject/genums.c: fix flags validation
gint -> glong conversion causes flags to be invalid if the highest bit is set.
Closes #1572 (closed)
Edited by Emmanuele Bassi
gint -> glong conversion causes flags to be invalid if the highest bit is set.
Closes #1572 (closed)