diff options
Diffstat (limited to 'externals/grill/flext/tutorial/timer1/main.cpp')
-rwxr-xr-x | externals/grill/flext/tutorial/timer1/main.cpp | 4 |
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 |