lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> in lstate.c lua 5.3.1
> 
> #define addbuff(b,p,e) \
>   { size_t t = cast(size_t, e); \
>     memcpy(buff + p, &t, sizeof(t)); p += sizeof(t); }
> 
> should be
> 
> #define addbuff(b,p,e) \
>   { size_t t = cast(size_t, e); \
>     memcpy(b + p, &t, sizeof(t)); p += sizeof(t); }

Many thanks.

-- Roberto