From dfaf1f930ce0ff7219c0d10fc0156cba0e46950a Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 27 Feb 2012 15:45:59 -0800 Subject: uhd: fixed some compile warnings for msvc --- host/lib/types/time_spec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/lib/types') 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 */ -- cgit v1.2.3