X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=rostests%2Fkmtests%2Fkmtest_drv%2Fprintf_stubs.c;h=c4265333c9c21fc5a0ca3b9dafe49d9b8d46cb65;hp=09e4d2b96c329bd9087353f6d89b08566787c24e;hb=2ab0757b32dca595fc0710245d50880f7e6ae7d0;hpb=84ffa0b5f9c6632adf433dad45e6e403349bf59c diff --git a/rostests/kmtests/kmtest_drv/printf_stubs.c b/rostests/kmtests/kmtest_drv/printf_stubs.c index 09e4d2b96c3..c4265333c9c 100644 --- a/rostests/kmtests/kmtest_drv/printf_stubs.c +++ b/rostests/kmtests/kmtest_drv/printf_stubs.c @@ -26,7 +26,7 @@ int __cdecl KmtVSNPrintF(char *buffer, size_t count, const char *format, va_list stream._base = (char *)buffer; stream._ptr = stream._base; stream._charbuf = 0; - stream._cnt = count; + stream._cnt = (int)count; stream._bufsiz = 0; stream._flag = _IOSTRG | _IOWRT; stream._tmpfname = 0;