From 9e98af062854056b82985635602b70ba07c44e27 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 5 Feb 2009 18:57:59 +0000 Subject: [PATCH] =?UTF-8?q?merge=20from=20amd64=20branch=2039059=20ssprint?= =?UTF-8?q?f.cpp/xml.cpp:=20Fix=20compilation=20for=20gcc=204.4.0=20and=20?= =?UTF-8?q?64bits=20(Samuel=20Serapi=C3=B3n)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/trunk/; revision=39418 --- reactos/tools/ssprintf.cpp | 4 ++-- reactos/tools/xml.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) 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"