aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-04-24 15:06:12 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-04-24 15:06:12 -0300
commit2caecf1b3efdbee4e08888a04143421589d6143b (patch)
tree5eb37237e2440b1fb0b3750e5917d6d6d80a8be7 /ltests.c
parentf399e6705fab15013ae468049c910577e1a9a5a1 (diff)
downloadlua-2caecf1b3efdbee4e08888a04143421589d6143b.tar.gz
lua-2caecf1b3efdbee4e08888a04143421589d6143b.tar.bz2
lua-2caecf1b3efdbee4e08888a04143421589d6143b.zip
type 'L_Umaxalign' replaced by macro 'LUAI_MAXALIGN', which is also added
to the auxlib buffer
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index 77f0163d..4ac2c702 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.214 2017/04/19 18:46:47 roberto Exp roberto $ 2** $Id: ltests.c,v 2.215 2017/04/24 16:59:26 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -81,7 +81,7 @@ static int tpanic (lua_State *L) {
81#define MARK 0x55 /* 01010101 (a nice pattern) */ 81#define MARK 0x55 /* 01010101 (a nice pattern) */
82 82
83typedef union Header { 83typedef union Header {
84 L_Umaxalign a; /* ensures maximum alignment for Header */ 84 LUAI_MAXALIGN;
85 struct { 85 struct {
86 size_t size; 86 size_t size;
87 int type; 87 int type;