diff options
author | John Fultz <jfultz@wolfram.com> | 2015-07-21 10:18:57 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-07-21 10:18:57 -0500 |
commit | d912747a68c38baa1d19e07067d8c691f29f8198 (patch) | |
tree | f221b417220ffe5b6adbf3ca8210c788379d7842 /clock.cpp | |
parent | 46fc18d0d167cc6feacfb41fadb207a1234ccc26 (diff) |
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.
Diffstat (limited to 'clock.cpp')
-rw-r--r-- | clock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |