aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-fpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-fpu.c')
-rw-r--r--sim/common/sim-fpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/sim-fpu.c b/sim/common/sim-fpu.c
index 491a99b..4ee2672 100644
--- a/sim/common/sim-fpu.c
+++ b/sim/common/sim-fpu.c
@@ -413,9 +413,9 @@ unpack_fpu (sim_fpu *dst, uint64_t packed, int is_double)
}
else
{
- uint32_t val = pack_fpu (dst, 0);
+ uint32_t fval = pack_fpu (dst, 0);
uint32_t org = packed;
- ASSERT (val == org);
+ ASSERT (fval == org);
}
}
}