diff options
-rw-r--r-- | lstate.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.c,v 2.129 2015/07/13 13:30:03 roberto Exp roberto $ | 2 | ** $Id: lstate.c,v 2.130 2015/09/08 15:41:05 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -76,7 +76,7 @@ typedef struct LG { | |||
76 | */ | 76 | */ |
77 | #define addbuff(b,p,e) \ | 77 | #define addbuff(b,p,e) \ |
78 | { size_t t = cast(size_t, e); \ | 78 | { size_t t = cast(size_t, e); \ |
79 | memcpy(buff + p, &t, sizeof(t)); p += sizeof(t); } | 79 | memcpy(b + p, &t, sizeof(t)); p += sizeof(t); } |
80 | 80 | ||
81 | static unsigned int makeseed (lua_State *L) { | 81 | static unsigned int makeseed (lua_State *L) { |
82 | char buff[4 * sizeof(size_t)]; | 82 | char buff[4 * sizeof(size_t)]; |