mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-08 03:30:04 +08:00
Fixed bug where epoch ms time was not being returned
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user