Laurent Vivier b119339610 linux-user: fix implicit conversion from enumeration type error
MK_ARRAY(type,size) is used to fill the field_types buffer, and if the
"size" parameter is an enum type, clang [-Werror,-Wenum-conversion] reports
an error when it is assigned to field_types which is also an enum, argtypes.

To avoid that, convert "size" to "int" in MK_ARRAY(). "int" is the type
used for the size evaluation in thunk_type_size().

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200902125752.1033524-1-laurent@vivier.eu>
2020-09-03 01:09:31 +02:00
..
2020-08-21 06:18:35 -04:00
2016-06-07 18:19:23 +03:00
2020-08-21 06:18:35 -04:00
2020-03-19 17:58:05 +01:00
2020-01-29 11:28:59 +01:00
2018-06-15 08:18:48 -10:00