Martin Sebor wrote:
[...]
Modified: stdcxx/branches/4.2.x/util/cmdopt.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/util/cmdopt.cpp?rev=659253&r1=659252&r2=659253&view=diff ==============================================================================
--- stdcxx/branches/4.2.x/util/cmdopt.cpp (original)
+++ stdcxx/branches/4.2.x/util/cmdopt.cpp Thu May 22 13:54:39 2008
@@ -59,7 +59,7 @@
 const char suffix_sep = '.';
 const size_t exe_suffix_len = 0;
 #if defined (_SC_CLK_TCK)
-const float TICKS_PER_SEC = sysconf (_SC_CLK_TCK);
+const float TICKS_PER_SEC = float (sysconf (_SC_CLK_TCK));

(As an aside, I wonder why this is defined here when the only
place it's used is display.cpp. We should move it there.)

FYI: this has been done in
  http://svn.apache.org/viewvc?rev=660283&view=rev

Reply via email to