From 7cc2eb352c8aa0a1c8d95f39635af8b5bdd72a46 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Wed, 21 Jan 2009 20:33:25 -0500 Subject: [PATCH] refactoed ticks --- src/ticks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ticks.cpp b/src/ticks.cpp index 5bcefd6..54699b1 100644 --- a/src/ticks.cpp +++ b/src/ticks.cpp @@ -26,7 +26,7 @@ // returns the current microseconds from unix time MICRO tickCountMicro() { - struct timeval tv; + timeval tv; gettimeofday(&tv, 0); return (long int)tv.tv_sec * 1000000 + tv.tv_usec; -- 2.10.2