qemu-cr16/include/exec
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
..
user linux-user: fix implicit conversion from enumeration type error 2020-09-03 01:09:31 +02:00
address-spaces.h
cpu-all.h
cpu-common.h
cpu-defs.h
cpu_ldst.h
cputlb.h
exec-all.h
gdbstub.h
gen-icount.h
helper-gen.h
helper-head.h
helper-proto.h
helper-tcg.h
hwaddr.h
ioport.h
log.h
memattrs.h
memop.h
memory-internal.h
memory.h
memory_ldst.h.inc
memory_ldst_cached.h.inc
memory_ldst_phys.h.inc
plugin-gen.h
poison.h
ram_addr.h
ramblock.h
ramlist.h
softmmu-semi.h
target_page.h
tb-context.h
tb-hash.h
tb-lookup.h
translator.h