Author: sserapion
Date: Sat Jan 24 05:04:21 2009
New Revision: 39059
URL:
http://svn.reactos.org/svn/reactos?rev=39059&view=rev
Log:
Fix compilation for gcc 4.4.0 and 64bits
Modified:
branches/ros-amd64-bringup/reactos/tools/ssprintf.cpp
branches/ros-amd64-bringup/reactos/tools/xml.cpp
Modified: branches/ros-amd64-bringup/reactos/tools/ssprintf.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/ssprintf.cpp [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/ssprintf.cpp [iso-8859-1] Sat Jan 24 05:04:21
2009
@@ -1556,7 +1556,7 @@
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 @@
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)
{
Modified: branches/ros-amd64-bringup/reactos/tools/xml.cpp
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/tools…
==============================================================================
--- branches/ros-amd64-bringup/reactos/tools/xml.cpp [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/tools/xml.cpp [iso-8859-1] Sat Jan 24 05:04:21
2009
@@ -39,6 +39,7 @@
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include "xml.h"
#include "ssprintf.h"