* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a

no-op.
This commit is contained in:
Christopher Faylor 2005-05-28 21:31:17 +00:00
parent 73162dcdd0
commit 03bb8acaa7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-05-28 Christopher Faylor <cgf@timesys.com>
* times.cc (time_ms::usecs): Coerce comparison to signed or whole test
is a no-op.
2005-05-27 Christopher Faylor <cgf@timesys.com> 2005-05-27 Christopher Faylor <cgf@timesys.com>
* cygheap.h: Reference _cygheap_start via .cygheap section. * cygheap.h: Reference _cygheap_start via .cygheap section.

View File

@ -597,7 +597,7 @@ hires_ms::usecs (bool justdelta)
if (!minperiod) /* NO_COPY variable */ if (!minperiod) /* NO_COPY variable */
prime (); prime ();
DWORD now = timeGetTime (); DWORD now = timeGetTime ();
if ((now - initime_ms) < 0) if ((int) (now - initime_ms) < 0)
{ {
inited = 0; inited = 0;
prime (); prime ();