projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too
[rrdtool.git]
/
src
/
rrd_restore.c
diff --git
a/src/rrd_restore.c
b/src/rrd_restore.c
index
8cde6f1
..
fde83ae
100644
(file)
--- a/
src/rrd_restore.c
+++ b/
src/rrd_restore.c
@@
-1,5
+1,5
@@
/*****************************************************************************
/*****************************************************************************
- * RRDtool 1.4.
2 Copyright by Tobi Oetiker, 1997-2009
+ * RRDtool 1.4.
3 Copyright by Tobi Oetiker, 1997-2010
*****************************************************************************
* rrd_restore.c Contains logic to parse XML input and create an RRD file
* This file:
*****************************************************************************
* rrd_restore.c Contains logic to parse XML input and create an RRD file
* This file:
@@
-233,7
+233,7
@@
static int get_xml_time_t(
#ifdef TIME_T_IS_64BIT
temp = strtoll((char *)text,NULL, 0);
#else
#ifdef TIME_T_IS_64BIT
temp = strtoll((char *)text,NULL, 0);
#else
- if (sizeof(time_t) ==
32
){
+ if (sizeof(time_t) ==
4
){
temp = strtol((char *)text,NULL, 0);
} else {
temp = strtoll((char *)text,NULL, 0);
temp = strtol((char *)text,NULL, 0);
} else {
temp = strtoll((char *)text,NULL, 0);