diff options
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.29 2015/12/21 13:02:14 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.30 2017/05/13 12:57:20 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) | 32 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) |
33 | #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) | 33 | #define restorestack(L,n) ((StkId)((char *)L->stack + (n))) |
34 | 34 | ||
35 | 35 | ||
36 | /* macro to check stack size, preserving 'p' */ | 36 | /* macro to check stack size, preserving 'p' */ |