From ac799f4b9b4742620bf7a9d97a759437688fc173 Mon Sep 17 00:00:00 2001 From: auria Date: Sun, 8 Jan 2012 03:03:04 +0000 Subject: [PATCH] Fix issue under windows git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10598 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/utils/time.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/time.hpp b/src/utils/time.hpp index 82f5a4cef..4757b3d27 100644 --- a/src/utils/time.hpp +++ b/src/utils/time.hpp @@ -94,7 +94,7 @@ public: t |= ft.dwLowDateTime; // Convert to seconds since epoch float f = (float)(double(t) / 1000000.0); - return tf; + return f; #else struct timeval tv; gettimeofday(&tv, NULL);