diff --git a/modules/core/src/system.cpp b/modules/core/src/system.cpp index ceb26d7a0b..2c0038b80e 100644 --- a/modules/core/src/system.cpp +++ b/modules/core/src/system.cpp @@ -758,8 +758,7 @@ int64 getTickCount(void) return (int64)mach_absolute_time(); #else struct timeval tv; - struct timezone tz; - gettimeofday( &tv, &tz ); + gettimeofday(&tv, NULL); return (int64)tv.tv_sec*1000000 + tv.tv_usec; #endif }