Code

printf for time_t with %lli can easily cause a segfault since on many platforms
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 6 Apr 2009 14:12:21 +0000 (14:12 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 6 Apr 2009 14:12:21 +0000 (14:12 +0000)
commit8e9cd2ee90fee863824b853b2e5bfe20d691ac19
tree945fc785c4208d6001a88966f5df8e94a4888d02
parentb9e559815dbbb4a0ef9d836e98b861f7c4c3a5b3
printf for time_t with %lli can easily cause a segfault since on many platforms
time_t is only 32bit ... by adding (long long) to the time value this gets fixed.

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@1769 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/rrd_update.c