[DINPUT_WINETEST]
[reactos.git] / rostests / kmtests / kmtest_drv / printf_stubs.c
index 09e4d2b..2e4bfb5 100644 (file)
@@ -2,7 +2,7 @@
  * PROJECT:         ReactOS kernel-mode tests
  * LICENSE:         GPLv2+ - See COPYING in the top level directory
  * PURPOSE:         Kernel-Mode Test Suite stub functions for any-IRQL vsnprintf
- * PROGRAMMER:      Thomas Faber <thfabba@gmx.de>
+ * PROGRAMMER:      Thomas Faber <thomas.faber@reactos.org>
  */
 
 #undef wctomb
@@ -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;