summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d653eb0)
raw | patch | inline | side by side (parent: d653eb0)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Apr 2005 22:18:15 +0000 (22:18 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 25 Apr 2005 22:18:15 +0000 (22:18 +0000) |
-- John R Mocho <jmocho in royaldc.com>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@436 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@436 a5681a0c-68f1-0310-ab6d-d61299d08faa
program/src/parsetime.c | patch | blob | history |
index 775a40a2552776ad92c660529612f14944e9f302..eedd3e488b80f6112fe597ca19659c0e65365164 100644 (file)
--- a/program/src/parsetime.c
+++ b/program/src/parsetime.c
static char *
day(struct rrd_time_value *ptv)
{
- long mday=0, wday, mon, year = ptv->tm.tm_year;
+ /* using time_t seems to help portability with 64bit oses */
+ time_t mday=0, wday, mon, year = ptv->tm.tm_year;
int tlen;
switch (sc_tokid) {