diff options
author | Kito Cheng <kito.cheng@sifive.com> | 2023-12-04 15:41:28 +0800 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-12-04 10:26:41 +0100 |
commit | bcd1883560b79b67f06fa1df6dea60d18fdd00c7 (patch) | |
tree | a3b5f6e81cf229b1450587bb587f4f280782a71f /newlib/libm | |
parent | c0d2f3874207e870ffb8a181b0a49637d77e5fdc (diff) | |
download | newlib-bcd1883560b79b67f06fa1df6dea60d18fdd00c7.zip newlib-bcd1883560b79b67f06fa1df6dea60d18fdd00c7.tar.gz newlib-bcd1883560b79b67f06fa1df6dea60d18fdd00c7.tar.bz2 |
RISC-V: Fix -Wint-conversion warning
Upstream GCC has change this warning into error by default, so...we need
to explicitly convert the type from pointer from/to integer, generally
it's unsafe, but we know what we are doing here.
However it's not safe for ilp32 on RV64, but we didn't support that yet, so I
think this fix is good enough now :)
Diffstat (limited to 'newlib/libm')
0 files changed, 0 insertions, 0 deletions