mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 08:51:09 +08:00
Resolves 32-bit long overflow on non-64 bit architectures
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <ctime>
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifdef WINDOWS
|
||||
// Import windows only stuff
|
||||
@@ -27,11 +28,11 @@ namespace alpr
|
||||
{
|
||||
|
||||
void getTimeMonotonic(timespec* time);
|
||||
long getTimeMonotonicMs();
|
||||
int64_t getTimeMonotonicMs();
|
||||
|
||||
double diffclock(timespec time1,timespec time2);
|
||||
|
||||
long getEpochTimeMs();
|
||||
int64_t getEpochTimeMs();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user