[newlib-cygwin] Cygwin: get_mem_values: Fix prototype
Corinna Vinschen
corinna@sourceware.org
Fri Aug 17 18:40:00 GMT 2018
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=71b4e3b3363a520e67f27a26d3a7630698a9fdfe
commit 71b4e3b3363a520e67f27a26d3a7630698a9fdfe
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Fri Aug 17 20:40:18 2018 +0200
Cygwin: get_mem_values: Fix prototype
Incomplete change unsigned long -> size_t was only visible on 32 bit, sigh.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/fhandler_process.cc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
index 03d9c32..b0fae4c 100644
--- a/winsup/cygwin/fhandler_process.cc
+++ b/winsup/cygwin/fhandler_process.cc
@@ -1432,9 +1432,8 @@ out:
}
static bool
-get_mem_values (DWORD dwProcessId, size_t &vmsize, unsigned long &vmrss,
- unsigned long &vmtext, unsigned long &vmdata,
- unsigned long &vmlib, unsigned long &vmshare)
+get_mem_values (DWORD dwProcessId, size_t &vmsize, size_t &vmrss,
+ size_t &vmtext, size_t &vmdata, size_t &vmlib, size_t &vmshare)
{
bool res = false;
NTSTATUS status;
More information about the Cygwin-cvs
mailing list