https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3b4685bf97a0649be7b19bf8efab44ca191aa6f8
commit 3b4685bf97a0649be7b19bf8efab44ca191aa6f8 Author: Corinna Vinschen <[email protected]> Date: Mon Aug 12 17:29:59 2019 +0200 Cygwin: ps: fix a compiler warning Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/utils/ps.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/utils/ps.cc b/winsup/utils/ps.cc index 75a91f5..2307f79 100644 --- a/winsup/utils/ps.cc +++ b/winsup/utils/ps.cc @@ -266,8 +266,8 @@ main (int argc, char *argv[]) (PVOID) &stodi, sizeof stodi, NULL); if (!NT_SUCCESS (status)) fprintf (stderr, - "NtQuerySystemInformation(SystemTimeOfDayInformation), " - "status %#010x\n", status); + "NtQuerySystemInformation(SystemTimeOfDayInformation), " + "status %#010x\n", (unsigned int) status); boot_time = to_time_t ((FILETIME*)&stodi.BootTime); }
