diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-04 23:40:05 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-04 23:41:31 -0500 |
commit | 9a9205a0c729f8eb2e9355af5e9ee52d55e967cf (patch) | |
tree | 4926c7afad95c2b21fcb9c7c84e079fa61b8ae03 /sim/m4 | |
parent | c96b63a2e965dfcbb0f239ebb90ced7725d38f78 (diff) | |
download | binutils-9a9205a0c729f8eb2e9355af5e9ee52d55e967cf.zip binutils-9a9205a0c729f8eb2e9355af5e9ee52d55e967cf.tar.gz binutils-9a9205a0c729f8eb2e9355af5e9ee52d55e967cf.tar.bz2 |
sim: ppc: fix implicit enum conversion
This code tries to use attach_type enums as hw_phb_decode, and while
they're setup to have compatible values, the compiler doesn't like it
when the cast is missing. So cast it explicitly and then use that.
sim/ppc/hw_phb.c:322:28: error:
implicit conversion from enumeration type 'attach_type'
(aka 'enum _attach_type') to different enumeration type
'hw_phb_decode' [-Werror,-Wenum-conversion]
Diffstat (limited to 'sim/m4')
0 files changed, 0 insertions, 0 deletions