3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Fixed various VS warnings

This commit is contained in:
Clifford Wolf 2014-10-18 15:20:38 +02:00
parent 85572b05e5
commit 84ffe04075
8 changed files with 14 additions and 14 deletions

View file

@ -64,7 +64,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz)
counter.QuadPart *= 1000000;
counter.QuadPart /= freq.QuadPart;
tv->tv_sec = counter.QuadPart / 1000000;
tv->tv_sec = long(counter.QuadPart / 1000000);
tv->tv_usec = counter.QuadPart % 1000000;
return 0;