This commit is contained in:
iceman1001 2018-06-03 23:32:02 +02:00
commit a2c7158f78
13 changed files with 25 additions and 30 deletions

View file

@ -118,7 +118,7 @@ uint64_t msclock(void) {
#include <sys/timeb.h>
struct _timeb t;
_ftime(&t);
return 1000 * t.time + t.millitm;
return 1000 * (uint64_t)t.time + t.millitm;
// NORMAL CODE (use _ftime_s)
//struct _timeb t;