common, g10: Fix enumeration types.