aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-i386/ops_mem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/ops_mem.h b/target-i386/ops_mem.h
index 0002f0deaa..7ec84dde89 100644
--- a/target-i386/ops_mem.h
+++ b/target-i386/ops_mem.h
@@ -45,7 +45,7 @@ void OPPROTO glue(glue(op_ldsw, MEMSUFFIX), _T1_A0)(void)
void OPPROTO glue(glue(op_ldl, MEMSUFFIX), _T1_A0)(void)
{
- T1 = glue(ldl, MEMSUFFIX)(A0);
+ T1 = (uint32_t)glue(ldl, MEMSUFFIX)(A0);
}
void OPPROTO glue(glue(op_stb, MEMSUFFIX), _T0_A0)(void)