From: Timo Kokkonen Date: Wed, 30 Sep 2020 17:11:43 +0000 (+0300) Subject: rrdtool.h: Fix last_update type X-Git-Url: http://git.itanic.dy.fi/?p=rrdd;a=commitdiff_plain;h=0a77f3182fc360e02c5cf995454948edcfe61da4 rrdtool.h: Fix last_update type This type may not be always int, but long int instead, on 64bit architectures at least. Signed-off-by: Timo Kokkonen --- diff --git a/rrdtool.h b/rrdtool.h index b05eed6..4484e2c 100644 --- a/rrdtool.h +++ b/rrdtool.h @@ -52,7 +52,7 @@ struct rrd_database { const char *logfile; /* Name of a file where data can be logged */ const char *logfile_timestamp_fmt; - int last_update; /* When was the data last updated */ + time_t last_update; /* When was the data last updated */ const char *name; /* Name of the database */ };