diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-22 15:38:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2012-05-22 15:38:56 -0300 |
commit | 8e7149f496fa175c05c49e7303ff8ba54f3545c9 (patch) | |
tree | 5bfaf792fad8d8d52796127b0898b2c3b5259909 | |
parent | 086da10dacc9e2b8f7731609f0deec731c854627 (diff) | |
download | lua-8e7149f496fa175c05c49e7303ff8ba54f3545c9.tar.gz lua-8e7149f496fa175c05c49e7303ff8ba54f3545c9.tar.bz2 lua-8e7149f496fa175c05c49e7303ff8ba54f3545c9.zip |
detail ('char' should be 'const char')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.125 2012/05/22 17:32:25 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.126 2012/05/22 17:50:39 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -439,7 +439,7 @@ static void traversestrongtable (global_State *g, Table *h) { | |||
439 | 439 | ||
440 | 440 | ||
441 | static lu_mem traversetable (global_State *g, Table *h) { | 441 | static lu_mem traversetable (global_State *g, Table *h) { |
442 | char *weakkey, *weakvalue; | 442 | const char *weakkey, *weakvalue; |
443 | const TValue *mode = gfasttm(g, h->metatable, TM_MODE); | 443 | const TValue *mode = gfasttm(g, h->metatable, TM_MODE); |
444 | markobject(g, h->metatable); | 444 | markobject(g, h->metatable); |
445 | if (mode && ttisstring(mode) && /* is there a weak mode? */ | 445 | if (mode && ttisstring(mode) && /* is there a weak mode? */ |