From 3b4685bf97a0649be7b19bf8efab44ca191aa6f8 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 12 Aug 2019 17:29:59 +0200 Subject: [PATCH] Cygwin: ps: fix a compiler warning Signed-off-by: Corinna Vinschen --- 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 75a91f5be..2307f7955 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); }