aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/tutorial/timer1/main.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-05-17 02:32:51 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-05-17 02:32:51 +0000
commitb84b298888b12a3c00ffd6cabd5b39a5937e1347 (patch)
tree5c6c26a16cff9f83619b8d3d1be6b2fd91b21d4d /externals/grill/flext/tutorial/timer1/main.cpp
parent8b042a66a4fd811589412747e38e8c7ee784db3c (diff)
""
svn path=/trunk/; revision=625
Diffstat (limited to 'externals/grill/flext/tutorial/timer1/main.cpp')
-rwxr-xr-xexternals/grill/flext/tutorial/timer1/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/tutorial/timer1/main.cpp b/externals/grill/flext/tutorial/timer1/main.cpp
index 6388eb4a..d751c784 100755
--- a/externals/grill/flext/tutorial/timer1/main.cpp
+++ b/externals/grill/flext/tutorial/timer1/main.cpp
@@ -39,8 +39,8 @@ protected:
// timers
Timer tmrA,tmrB;
- void m_getostime(float &f) { f = GetOSTime(); } // method for operating system time attribute
- void m_getrttime(float &f) { f = GetTime(); } // method for real-time system time attribute
+ void m_getostime(float &f) { f = (float)GetOSTime(); } // method for operating system time attribute
+ void m_getrttime(float &f) { f = (float)GetTime(); } // method for real-time system time attribute
void m_timerA(void *) { ToOutString(0,"Timer A"); } // timer A method
void m_timerB(void *) { ToOutString(0,"Timer B"); } // timer B method