From 4ff86aa5b5692b2d212bcd1847fb99e00f7a6688 Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 21 Aug 2009 12:51:57 +0000 Subject: [PATCH] Core: TimeStop Elapsed now returns dword git-svn-id: svn://ultimatepp.org/upp/trunk@1522 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/Util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/Util.h b/uppsrc/Core/Util.h index e9d962394..9fe66e29e 100644 --- a/uppsrc/Core/Util.h +++ b/uppsrc/Core/Util.h @@ -13,7 +13,7 @@ class TimeStop : Moveable { dword starttime; public: - int Elapsed() const { return GetTickCount() - starttime; } + dword Elapsed() const { return GetTickCount() - starttime; } String ToString() const; void Reset();