stif/TestScripter/src/TestScripter.cpp
branchRCL_3
changeset 18 3406c99bc375
parent 8 cfe32394fcd5
--- a/stif/TestScripter/src/TestScripter.cpp	Mon Jun 21 17:25:56 2010 +0300
+++ b/stif/TestScripter/src/TestScripter.cpp	Thu Jul 15 20:25:38 2010 +0300
@@ -3875,7 +3875,7 @@
         User::Leave( KErrArgument ); // Error in parsing => Leave    	
     	}
     // Convert idle time from milli to micro seconds
-   	idle = time * 1000.0;
+   	idle = static_cast<TInt>( time * 1000.0);
 
     if( idle < 0 )
     	{
@@ -3901,7 +3901,7 @@
     	}
     
     // Convert active time from milli to micro seconds
-   	active = time * 1000.0;
+   	active = static_cast<TInt>( time * 1000.0 );
    	
     if( active < 0 )
     	{
@@ -5166,5 +5166,4 @@
     
     }
 
-
-//  End of File
+// End of File