From 2e8d9d5014cac46b9486a88307436f74a7a3784c Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Thu, 5 Mar 2020 08:58:10 +1000 Subject: jim.h: Change type of interp->lastCollectTime Previously we stored lastCollectTime as time_t, but to support more easily enabling 64 bit vs 32 bit time_t, convert this to be JimClock() compatible (64 bit milliseconds). Signed-off-by: Steve Bennett --- jim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jim.h') diff --git a/jim.h b/jim.h index f6d5f70..f156980 100644 --- a/jim.h +++ b/jim.h @@ -539,7 +539,7 @@ typedef struct Jim_Interp { is running as sentinel to avoid to recursive calls via the [collect] command inside finalizers. */ - time_t lastCollectTime; /* unix time of the last GC execution */ + jim_wide lastCollectTime; /* unix time of the last GC execution */ Jim_Obj *stackTrace; /* Stack trace object. */ Jim_Obj *errorProc; /* Name of last procedure which returned an error */ Jim_Obj *unknown; /* Unknown command cache */ -- cgit v1.1