From f2601e5702c842af4a0a987737de8cbc613317dc Mon Sep 17 00:00:00 2001 From: Guilherme Maciel Ferreira Date: Tue, 3 Jan 2012 07:54:33 -0200 Subject: [PATCH] PC-Lint warnings fixed: - Info 732: Loss of sign (initialization) (int to unsigned int). --- src/dns/timetolive.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/dns/timetolive.cpp b/src/dns/timetolive.cpp index fa786b9..a32c9e2 100644 --- a/src/dns/timetolive.cpp +++ b/src/dns/timetolive.cpp @@ -64,7 +64,7 @@ void TimeToLive::set_value( const uint32_t ttl ) uint32_t TimeToLive::get_updated_value() const { ptime now = microsec_clock::universal_time(); - uint32_t elapsed_seconds = static_cast( + uint32_t elapsed_seconds = static_cast( (now - TtlSetTime).total_seconds() ); uint32_t original_ttl = get_value(); -- 1.7.1