X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=blobdiff_plain;f=src%2Fticks.cpp;h=54699b100ab78a934d385788112633d9440ef24b;hp=5bcefd62598173b2cf9c480baea8016357298031;hb=7cc2eb352c8aa0a1c8d95f39635af8b5bdd72a46;hpb=a24bceeac654935fa0894317dd04e1ab39df5d50 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;