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:
parent
85572b05e5
commit
84ffe04075
8 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue