Cygwin: ps: fix a compiler warning
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
d178de278a
commit
3b4685bf97
@ -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