diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 0100d8b83..7dcc1da36 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2007-06-12 Christopher Faylor + + * signal.cc (usleep): Use useconds_t for the type as per POSIX. + 2007-06-12 Corinna Vinschen * Makefile.in (DLL_OFILES): Add xsique.o. diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 575c46c53..3765cff26 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -135,7 +135,7 @@ sleep (unsigned int seconds) } extern "C" unsigned int -usleep (unsigned int useconds) +usleep (useconds_t useconds) { struct timespec req; req.tv_sec = useconds / 1000000;