diff options
author | Josh Blum <josh@joshknows.com> | 2012-02-27 15:45:59 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-02-28 13:20:58 -0800 |
commit | dfaf1f930ce0ff7219c0d10fc0156cba0e46950a (patch) | |
tree | e0d67976fca62f07d43f9bf7003b85a9b8fdaabb /host/lib/types | |
parent | 2033713db5ca6224bc769747420458287eecc506 (diff) | |
download | uhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.tar.gz uhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.tar.bz2 uhd-dfaf1f930ce0ff7219c0d10fc0156cba0e46950a.zip |
uhd: fixed some compile warnings for msvc
Diffstat (limited to 'host/lib/types')
-rw-r--r-- | host/lib/types/time_spec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/types/time_spec.cpp b/host/lib/types/time_spec.cpp index 14b9c988a..ec939e52e 100644 --- a/host/lib/types/time_spec.cpp +++ b/host/lib/types/time_spec.cpp @@ -49,7 +49,7 @@ time_spec_t time_spec_t::get_system_time(void){ LARGE_INTEGER counts, freq; QueryPerformanceCounter(&counts); QueryPerformanceFrequency(&freq); - return time_spec_t::from_ticks(counts.QuadPart, freq.QuadPart); + return time_spec_t::from_ticks(counts.QuadPart, double(freq.QuadPart)); } #endif /* HAVE_QUERY_PERFORMANCE_COUNTER */ |