Fix strict warnings default tip
authorBenjamin Smedberg <benjamin@smedbergs.us>
Tue, 22 Apr 2008 13:40:29 -0400
changeset 43 a2f5122ed78b9e678da4b9eefc815dcbb1269fef
parent 42 53c5098cb79e0223016b6901194a89d913f235fb
push id2
push userbsmedberg@mozilla.com
push dateTue, 22 Apr 2008 17:58:02 +0000
Fix strict warnings
gcc43-strict-warnings
--- a/gcc43-strict-warnings
+++ b/gcc43-strict-warnings
@@ -0,0 +1,12 @@
+diff --git a/MMgc/GC.h b/MMgc/GC.h
+--- a/MMgc/GC.h
++++ b/MMgc/GC.h
+@@ -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