public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: ps: fix a compiler warning
@ 2019-08-12 15:39 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2019-08-12 15:39 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=3b4685bf97a0649be7b19bf8efab44ca191aa6f8
commit 3b4685bf97a0649be7b19bf8efab44ca191aa6f8
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Mon Aug 12 17:29:59 2019 +0200
Cygwin: ps: fix a compiler warning
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
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);
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-12 15:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-12 15:39 [newlib-cygwin] Cygwin: ps: fix a compiler warning Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).