projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sizeof(time_t) is 4 byte not 32 bit ...
[rrdtool.git]
/
src
/
rrd_restore.c
diff --git
a/src/rrd_restore.c
b/src/rrd_restore.c
index
8cde6f1
..
e1de287
100644
(file)
--- a/
src/rrd_restore.c
+++ b/
src/rrd_restore.c
@@
-233,7
+233,7
@@
static int get_xml_time_t(
#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);