type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added

to the auxlib buffer
This commit is contained in:
Roberto Ierusalimschy
2017-04-24 15:06:12 -03:00
parent f399e6705f
commit 2caecf1b3e
6 changed files with 21 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltests.c,v 2.214 2017/04/19 18:46:47 roberto Exp roberto $
** $Id: ltests.c,v 2.215 2017/04/24 16:59:26 roberto Exp roberto $
** Internal Module for Debugging of the Lua Implementation
** See Copyright Notice in lua.h
*/
@@ -81,7 +81,7 @@ static int tpanic (lua_State *L) {
#define MARK 0x55 /* 01010101 (a nice pattern) */
typedef union Header {
L_Umaxalign a; /* ensures maximum alignment for Header */
LUAI_MAXALIGN;
struct {
size_t size;
int type;