aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/fhandler_proc.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-10 02:09:24 +0000
committerChristopher Faylor <me@cgf.cx>2003-07-10 02:09:24 +0000
commit2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89 (patch)
treec39ee6029446d25ed8ea495efbdbc8d4c5619fa8 /winsup/cygwin/fhandler_proc.cc
parentf1a4b6b59a0747eac6975d5341da3b69d42d22f0 (diff)
downloadnewlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.zip
newlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.tar.gz
newlib-2f5cab7bb2ebcaa6bcbee3e2493f8d9c516a7c89.tar.bz2
* 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 57d91ff..6ce8159 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;