From 12b6f610b0f1b4157c04f0db264f1f1d0634709b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 27 Dec 2023 12:09:11 -0300 Subject: Several tweaks in the garbage collector - back with step size in collectgarbage("step") - adjustments in defaults for some GC parameters - adjustments in 'luaO_codeparam' --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index a7d85762..81dfd475 100644 --- a/lobject.h +++ b/lobject.h @@ -427,8 +427,8 @@ typedef struct TString { ** Get string and length */ #define getlstr(ts, len) \ (strisshr(ts) \ - ? (cast_void(len = (ts)->shrlen), rawgetshrstr(ts)) \ - : (cast_void(len = (ts)->u.lnglen), (ts)->contents)) + ? (cast_void((len) = (ts)->shrlen), rawgetshrstr(ts)) \ + : (cast_void((len) = (ts)->u.lnglen), (ts)->contents)) /* }================================================================== */ -- cgit v1.2.3-55-g6feb