projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added special labeling for LONGTERM graphs -- Paul Boven p.boven sara.nl
[rrdtool.git]
/
src
/
parsetime.c
diff --git
a/src/parsetime.c
b/src/parsetime.c
index
775a40a
..
eedd3e4
100644
(file)
--- a/
src/parsetime.c
+++ b/
src/parsetime.c
@@
-659,7
+659,8
@@
assign_date(struct rrd_time_value *ptv, long mday, long mon, long year)
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) {