aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/external.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-08 16:44:25 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-08 16:44:25 +0000
commitd66ac2bc524ab413d86ad729ca3ff8fc61d0324f (patch)
tree9602e291bfc49915fc5419df0cf6f653fa6ae266 /winsup/cygwin/external.cc
parent01d615435c88d73c50ea0818544633a20c6db232 (diff)
downloadnewlib-d66ac2bc524ab413d86ad729ca3ff8fc61d0324f.zip
newlib-d66ac2bc524ab413d86ad729ca3ff8fc61d0324f.tar.gz
newlib-d66ac2bc524ab413d86ad729ca3ff8fc61d0324f.tar.bz2
* external.cc (cygwin_internal): Change n to __off64_t to match change
of _pinfo::cmdline. * fhandler.h (class fhandler_virtual): Change filesize member to __off64_t. * fhandler_proc.cc (format_proc_meminfo): Change to return __off64_t. (format_proc_stat): Ditto. (format_proc_uptime): Ditto. * fhandler_process.cc (format_process_stat): Ditto. (format_process_status): Ditto. (format_process_statm): Ditto. * pinfo.cc (_pinfo::cmdline): Expect __off64_t parameter. * pinfo.h (class _pinfo): Change declaration of cmdline accordingly.
Diffstat (limited to 'winsup/cygwin/external.cc')
-rw-r--r--winsup/cygwin/external.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc
index 582bb2a..113e984 100644
--- a/winsup/cygwin/external.cc
+++ b/winsup/cygwin/external.cc
@@ -242,7 +242,7 @@ cygwin_internal (cygwin_getinfo_types t, ...)
}
case CW_CMDLINE:
{
- size_t n;
+ __off64_t n;
pid_t pid = va_arg (arg, pid_t);
pinfo p (pid);
return (DWORD) p->cmdline (n);