mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 16:49:45 +08:00
Cygwin: ps: fix a compiler warning
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
aa058617e4
commit
9f3eace21f
@ -266,8 +266,8 @@ main (int argc, char *argv[])
|
|||||||
(PVOID) &stodi, sizeof stodi, NULL);
|
(PVOID) &stodi, sizeof stodi, NULL);
|
||||||
if (!NT_SUCCESS (status))
|
if (!NT_SUCCESS (status))
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
"NtQuerySystemInformation(SystemTimeOfDayInformation), "
|
"NtQuerySystemInformation(SystemTimeOfDayInformation), "
|
||||||
"status %#010x\n", status);
|
"status %#010x\n", (unsigned int) status);
|
||||||
boot_time = to_time_t ((FILETIME*)&stodi.BootTime);
|
boot_time = to_time_t ((FILETIME*)&stodi.BootTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user