From 7f774319504c0c56ee7efd3337a5c5a4074526c2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 16 Mar 2000 18:06:16 -0300 Subject: [PATCH] detail --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lobject.h b/lobject.h index 685124f9..ad35d0d4 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 1.50 2000/03/03 14:58:26 roberto Exp roberto $ +** $Id: lobject.h,v 1.51 2000/03/10 18:37:44 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -57,7 +57,7 @@ typedef unsigned long Instruction; ** objects count 1, and each 32 bytes of `raw' memory count 1; we add ** 2 to the total as a minimum (and also to count the overhead of malloc) */ -#define numblocks(L, o,b) ((o)+(b)/32+2) +#define numblocks(L, o,b) ((o)+((b)>>5)+2) /*