aboutsummaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-12-20 19:20:36 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1994-12-20 19:20:36 -0200
commit8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490 (patch)
tree13d09f704662cafa2597e77c92611b468e4741c9 /tree.c
parentfe8338335dfb4bf37e6b164cb55bfcc94ec6563d (diff)
downloadlua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.tar.gz
lua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.tar.bz2
lua-8cb8594a3bcfdc1447aebfcd0ac85db9af5ca490.zip
better control of integer types and their limits
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tree.c b/tree.c
index 9a9daf19..ac0f096d 100644
--- a/tree.c
+++ b/tree.c
@@ -3,7 +3,7 @@
3** TecCGraf - PUC-Rio 3** TecCGraf - PUC-Rio
4*/ 4*/
5 5
6char *rcs_tree="$Id: tree.c,v 1.10 1994/11/23 14:31:11 roberto Stab roberto $"; 6char *rcs_tree="$Id: tree.c,v 1.11 1994/11/25 19:27:03 roberto Exp roberto $";
7 7
8 8
9#include <string.h> 9#include <string.h>
@@ -78,10 +78,10 @@ TreeNode *lua_constcreate (char *str)
78** Garbage collection function. 78** Garbage collection function.
79** This function traverse the string list freeing unindexed strings 79** This function traverse the string list freeing unindexed strings
80*/ 80*/
81int lua_strcollector (void) 81Word lua_strcollector (void)
82{ 82{
83 StringNode *curr = string_root, *prev = NULL; 83 StringNode *curr = string_root, *prev = NULL;
84 int counter = 0; 84 Word counter = 0;
85 while (curr) 85 while (curr)
86 { 86 {
87 StringNode *next = curr->next; 87 StringNode *next = curr->next;