From d912747a68c38baa1d19e07067d8c691f29f8198 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Tue, 21 Jul 2015 10:18:57 -0500 Subject: Visual Studio build maintenance. * Fix compiler warnings * Add Visual Studio 2013 solution * Tweak .pro files * Most importantly, rename main 'quackle' project to 'libquackle' to avoid solution-level name conflict. This only affects the VS build. --- clock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clock.cpp') diff --git a/clock.cpp b/clock.cpp index b38b0c7..3c40783 100644 --- a/clock.cpp +++ b/clock.cpp @@ -36,7 +36,7 @@ void Stopwatch::start() int Stopwatch::elapsed() const { time_t now = time(NULL); - return now - m_startTime; + return (int) (now - m_startTime); } bool Stopwatch::exceeded(int seconds) const -- cgit v1.2.3