X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_restore.c;fp=src%2Frrd_restore.c;h=e1de2870181559da9dc481d1420d588b2293a853;hp=8cde6f1fbd54aff8c4761626c3f043ba021195f0;hb=a6fc0fa1cf5e60a0619993adfc8e4eedcebe4b96;hpb=a677dd48db923ddfb32e59291f05fbb185eb8ca0 diff --git a/src/rrd_restore.c b/src/rrd_restore.c index 8cde6f1..e1de287 100644 --- 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);