Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-10 06:09:24 +0400
committerChristopher Faylor <me@cgf.cx>2003-07-10 06:09:24 +0400
commit2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89 (patch)
treec39ee6029446d25ed8ea495efbdbc8d4c5619fa8 /winsup/cygwin/fhandler_proc.cc
parentf1a4b6b59a0747eac6975d5341da3b69d42d22f0 (diff)
* fhandler_proc.cc (format_proc_stat): Use correctly sized constants for
filling in zeros on 98.
Diffstat (limited to 'winsup/cygwin/fhandler_proc.cc')
-rw-r--r--winsup/cygwin/fhandler_proc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 57d91ffce..6ce815999 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -462,7 +462,7 @@ format_proc_stat (char *destbuf, size_t maxsize)
char *eobuf = destbuf;
if (!wincap.is_winnt ())
- eobuf += __small_sprintf (destbuf, "cpu %U %U %U %U\n", 0, 0, 0, 0);
+ eobuf += __small_sprintf (destbuf, "cpu %U %U %U %U\n", 0ULL, 0ULL, 0ULL, 0ULL);
else
{
NTSTATUS ret;