diff options
Diffstat (limited to 'nuttx/arch/hc/src/common/up_internal.h')
-rwxr-xr-x | nuttx/arch/hc/src/common/up_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/hc/src/common/up_internal.h b/nuttx/arch/hc/src/common/up_internal.h index 8879eee57..1a30f28e5 100755 --- a/nuttx/arch/hc/src/common/up_internal.h +++ b/nuttx/arch/hc/src/common/up_internal.h @@ -81,7 +81,7 @@ * a referenced is passed to get the state from the TCB. */ -#define up_savestate(regs) up_copystate(regs, current_regs) +#define up_savestate(regs) up_copystate(regs, (uint8_t*)current_regs) #define up_restorestate(regs) (current_regs = regs) /**************************************************************************** |