From 58b4d85445ff973b26166cc64b7379652769f97f Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sat, 2 Nov 2013 09:14:39 +0000 Subject: [PATCH] fix client_test build --- examples/client_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/client_test.cpp b/examples/client_test.cpp index 72b71eb9b..23cf27a8a 100644 --- a/examples/client_test.cpp +++ b/examples/client_test.cpp @@ -2301,7 +2301,7 @@ int main(int argc, char* argv[]) , i->tier, i->url.c_str(), i->fails, i->fail_limit, i->verified?"OK ":"- " , i->updating?"updating" :!i->will_announce(now)?"" - :to_string(total_seconds(i->next_announce - now), 8).c_str() + :to_string(int(total_seconds(i->next_announce - now)), 8).c_str() , i->min_announce > now ? total_seconds(i->min_announce - now) : 0 , i->last_error ? i->last_error.message().c_str() : "" , i->message.c_str());