From 2e2c109daf6c18943984cf9d4cfbc2311186b87d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 11 Sep 2013 12:17:00 -0300 Subject: type of 'refcount' changed to lu_mem (to ensure there will be no overflows) --- lfunc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lfunc.h') diff --git a/lfunc.h b/lfunc.h index 39dbc901..11438ab7 100644 --- a/lfunc.h +++ b/lfunc.h @@ -1,5 +1,5 @@ /* -** $Id: lfunc.h,v 2.9 2013/08/07 12:18:11 roberto Exp roberto $ +** $Id: lfunc.h,v 2.10 2013/08/27 18:53:35 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -23,7 +23,7 @@ */ struct UpVal { TValue *v; /* points to stack or to its own value */ - unsigned int refcount; /* reference counter */ + lu_mem refcount; /* reference counter */ union { struct { /* (when open) */ UpVal *next; /* linked list */ -- cgit v1.2.3-55-g6feb