Code

src/daemon/utils_time.h: Don't cast input to time_t.
authorFlorian Forster <octo@collectd.org>
Fri, 21 Aug 2015 10:49:04 +0000 (12:49 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 21 Aug 2015 10:49:04 +0000 (12:49 +0200)
commit0df29b436e77269eba38d66a2d43e99e5952a50a
tree43bbb4140c340e02834d08e113d465db72bccb5d
parent45e631cf6134de4a5dd3bcf01794c9fdd539c412
src/daemon/utils_time.h: Don't cast input to time_t.

The CDTIME_T_TO_TIME_T() macro used to cast its input to time_t, which is
a 32bit type on (some?) 32bit architectures.

This is a regression introduced in db1391aaa66b8b8fad82219494f61f3452441f62
and not found in any released version of collectd. Phew!
src/daemon/utils_time.h