From 71b4e3b3363a520e67f27a26d3a7630698a9fdfe Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 17 Aug 2018 20:40:18 +0200 Subject: [PATCH] Cygwin: get_mem_values: Fix prototype Incomplete change unsigned long -> size_t was only visible on 32 bit, sigh. Signed-off-by: Corinna Vinschen --- 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 03d9c3213..b0fae4cce 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;