aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
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 cb340876..a2e3e05d 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.187 2014/10/06 17:06:49 roberto Exp roberto $ 2** $Id: ltests.c,v 2.188 2014/10/07 18:29:13 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*/
@@ -152,7 +152,7 @@ void *debug_realloc (void *ud, void *b, size_t oldsize, size_t size) {
152 memcpy(newblock + 1, block + 1, commonsize); /* copy old contents */ 152 memcpy(newblock + 1, block + 1, commonsize); /* copy old contents */
153 freeblock(mc, block); /* erase (and check) old copy */ 153 freeblock(mc, block); /* erase (and check) old copy */
154 } 154 }
155 /* initialize new part of the block with something `weird' */ 155 /* initialize new part of the block with something weird */
156 fillmem(cast(char *, newblock + 1) + commonsize, size - commonsize); 156 fillmem(cast(char *, newblock + 1) + commonsize, size - commonsize);
157 /* initialize marks after block */ 157 /* initialize marks after block */
158 for (i = 0; i < MARKSIZE; i++) 158 for (i = 0; i < MARKSIZE; i++)