diff --git a/reactos/tools/ssprintf.cpp b/reactos/tools/ssprintf.cpp index 4e41579d41b..bd498df08d8 100644 --- a/reactos/tools/ssprintf.cpp +++ b/reactos/tools/ssprintf.cpp @@ -1556,7 +1556,7 @@ ssvprintf ( const char *fmt, va_list args ) flags |= ZEROPAD; } result = number(f, - (unsigned long) va_arg(args, void *), 16, + (size_t) va_arg(args, void *), 16, field_width, precision, flags); if (result < 0) { @@ -1880,7 +1880,7 @@ sswvprintf ( const wchar_t* fmt, va_list args ) flags |= ZEROPAD; } result = wnumber(f, - (unsigned long) va_arg(args, void *), 16, + (size_t) va_arg(args, void *), 16, field_width, precision, flags); if (result < 0) { diff --git a/reactos/tools/xml.cpp b/reactos/tools/xml.cpp index 373cb120752..a277bd31b65 100644 --- a/reactos/tools/xml.cpp +++ b/reactos/tools/xml.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include "xml.h" #include "ssprintf.h"