diff options
Diffstat (limited to 'nuttx/arch/x86/src/i486/up_savestate.c')
-rw-r--r-- | nuttx/arch/x86/src/i486/up_savestate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/x86/src/i486/up_savestate.c b/nuttx/arch/x86/src/i486/up_savestate.c index d5f97fa85..1d35c62a9 100644 --- a/nuttx/arch/x86/src/i486/up_savestate.c +++ b/nuttx/arch/x86/src/i486/up_savestate.c @@ -80,7 +80,7 @@ void up_savestate(uint32_t *regs) /* First, just copy all of the registers */ - up_copystate(regs, current_regs); + up_copystate(regs, (uint32_t*)current_regs); /* The RES_SP and REG_SS values will not be saved by the interrupt handling * logic if there is no change in privilege level. In that case, we will |