tamarin-gcc43-strict-warnings
author Benjamin Smedberg <benjamin@smedbergs.us>
Sat, 26 Jul 2008 22:49:39 -0400
changeset 167 a4da40849f5436e629c5732f4368c6c48189637f
parent 149 13eaa3adde4be1d470346a98e7cc7ab6b2ada1c8
permissions -rw-r--r--
State as of now

diff -r be130231e76f js/tamarin/MMgc/GC.h
--- a/js/tamarin/MMgc/GC.h	Wed Jul 02 13:40:30 2008 -0700
+++ b/js/tamarin/MMgc/GC.h	Wed Jul 02 13:41:01 2008 -0700
@@ -1025,7 +1025,7 @@ namespace MMgc
 		
 		static double duration(uint64 start) 
 		{
-			return (double(GC::GetPerformanceCounter() - start) * 1000) / GC::GetPerformanceFrequency();
+			return (double(GC::GetPerformanceCounter() - start) * 1000) / double(GC::GetPerformanceFrequency());
 		}
 
 #ifndef MMGC_THREADSAFE