diff --git a/src/openalpr/support/timing.cpp b/src/openalpr/support/timing.cpp index 0b6a9fc..6b16997 100644 --- a/src/openalpr/support/timing.cpp +++ b/src/openalpr/support/timing.cpp @@ -149,7 +149,9 @@ long getEpochTime() { struct timeval tp; gettimeofday(&tp, NULL); - long int ms = tp.tv_sec * 1000 + tp.tv_usec / 1000; + long ms = tp.tv_sec * 1000 + tp.tv_usec / 1000; + + return ms; } #endif