2007-12-12 10:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/idle.c
! fixed casting in hb_idleSleep() which truncated the fraction part
of given timeout
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-12-12 10:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/rtl/idle.c
|
||||
! fixed casting in hb_idleSleep() which truncated the fraction part
|
||||
of given timeout
|
||||
|
||||
2007-12-11 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/compiler/hbusage.c
|
||||
* Year bumped to 2008.
|
||||
|
||||
@@ -216,7 +216,7 @@ void hb_idleSleep( double dSeconds )
|
||||
{
|
||||
if( dSeconds >= 0 )
|
||||
{
|
||||
HB_ULONG end_timer = hb_dateMilliSeconds() + ( HB_ULONG ) dSeconds * 1000;
|
||||
HB_ULONG end_timer = hb_dateMilliSeconds() + ( HB_ULONG ) ( dSeconds * 1000 );
|
||||
|
||||
while( hb_dateMilliSeconds() < end_timer )
|
||||
hb_idleState();
|
||||
|
||||
Reference in New Issue
Block a user