diff options
author | SeungRyeol Lee <zizztux.lee@lge.com> | 2016-03-22 15:36:24 +0900 |
---|---|---|
committer | SeungRyeol Lee <zizztux.lee@lge.com> | 2016-03-22 15:36:24 +0900 |
commit | 10e9fa36090a73a9416012ebbf36eec5512e37c1 (patch) | |
tree | 409e26a1838041f64a41d7e51cd07450df80cafc /machine | |
parent | d5278834830bdd2cb8586f25fe05ae917b0eb949 (diff) | |
download | pk-10e9fa36090a73a9416012ebbf36eec5512e37c1.zip pk-10e9fa36090a73a9416012ebbf36eec5512e37c1.tar.gz pk-10e9fa36090a73a9416012ebbf36eec5512e37c1.tar.bz2 |
fix multilib build error. it's type casting related.
Diffstat (limited to 'machine')
-rw-r--r-- | machine/fp_ldst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/machine/fp_ldst.c b/machine/fp_ldst.c index 9d0a49f..b3d57e5 100644 --- a/machine/fp_ldst.c +++ b/machine/fp_ldst.c @@ -22,7 +22,7 @@ DECLARE_EMULATION_FUNC(emulate_float_load) #ifdef __riscv64 val = load_uint64_t((void *)addr, mepc); #else - val = load_uint32_t(addr, mepc); + val = load_uint32_t((void *)addr, mepc); val += (uint64_t)load_uint32_t((void *)(addr + 4), mepc) << 32; #endif SET_F64_RD(insn, regs, val); |