diff options
author | Christopher Faylor <me@cgf.cx> | 2005-05-28 21:31:17 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-05-28 21:31:17 +0000 |
commit | 03bb8acaa7be8b1849b4bbee9c213e251cba1f1c (patch) | |
tree | 2584281406f212557316156ca4fddc61b42ce2c5 /winsup/cygwin/times.cc | |
parent | 73162dcdd0e2bb323ce93fd58e28044434eadc5e (diff) | |
download | newlib-03bb8acaa7be8b1849b4bbee9c213e251cba1f1c.zip newlib-03bb8acaa7be8b1849b4bbee9c213e251cba1f1c.tar.gz newlib-03bb8acaa7be8b1849b4bbee9c213e251cba1f1c.tar.bz2 |
* times.cc (time_ms::usecs): Coerce comparison to signed or whole test is a
no-op.
Diffstat (limited to 'winsup/cygwin/times.cc')
-rw-r--r-- | winsup/cygwin/times.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 2ac2ee6..708f48d 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -597,7 +597,7 @@ hires_ms::usecs (bool justdelta) if (!minperiod) /* NO_COPY variable */ prime (); DWORD now = timeGetTime (); - if ((now - initime_ms) < 0) + if ((int) (now - initime_ms) < 0) { inited = 0; prime (); |