[REACTOS] Fix MSVC printf format warnings

This commit is contained in:
Timo Kreuzer 2018-08-20 17:42:27 +02:00
parent b8a1a612b2
commit 58588b76e2
17 changed files with 35 additions and 35 deletions

View file

@ -21,7 +21,7 @@ int wmain(int argc, WCHAR * argv[])
wsprintf(ServiceName.Buffer,
L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\%S",
argv[1]);
wprintf(L"%s %d %d\n", ServiceName.Buffer, ServiceName.Length, wcslen(ServiceName.Buffer));
wprintf(L"%s %d %Ud\n", ServiceName.Buffer, ServiceName.Length, wcslen(ServiceName.Buffer));
Status = NtUnloadDriver(&ServiceName);
free(ServiceName.Buffer);
if (!NT_SUCCESS(Status))