diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-18 15:20:38 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-18 15:20:38 +0200 |
commit | 84ffe04075bbddfd1b288295c07d036416923c3a (patch) | |
tree | 1d3b80144cad20aeab554084d42e7ba592fc686e /kernel/log.cc | |
parent | 85572b05e5359f28c1625b873dc14428f796a454 (diff) | |
download | yosys-84ffe04075bbddfd1b288295c07d036416923c3a.tar.gz yosys-84ffe04075bbddfd1b288295c07d036416923c3a.tar.bz2 yosys-84ffe04075bbddfd1b288295c07d036416923c3a.zip |
Fixed various VS warnings
Diffstat (limited to 'kernel/log.cc')
-rw-r--r-- | kernel/log.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/log.cc b/kernel/log.cc index 19eb38c73..807f58bf6 100644 --- a/kernel/log.cc +++ b/kernel/log.cc @@ -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; |