From 1e79087ed4d4b4b56e6090ab8909662e85d39bf3 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 3 Dec 2015 13:53:37 +0100 Subject: [PATCH] don't truncate timestamps on raspberry pi --- pdns/rcpgenerator.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/rcpgenerator.cc b/pdns/rcpgenerator.cc index 0b691d6711..94925ba453 100644 --- a/pdns/rcpgenerator.cc +++ b/pdns/rcpgenerator.cc @@ -51,8 +51,7 @@ void RecordTextReader::xfr64BitInt(uint64_t &val) throw RecordTextException("expected digits at position "+lexical_cast(d_pos)+" in '"+d_string+"'"); char *endptr; - unsigned long ret=strtoull(d_string.c_str() + d_pos, &endptr, 10); - val=ret; + val=strtoull(d_string.c_str() + d_pos, &endptr, 10); d_pos = endptr - d_string.c_str(); } -- 2.47.2