fix compile problems with msvc6
Modified: trunk/reactos/tools/rbuild/XML.cpp
Modified: trunk/reactos/tools/rbuild/ssprintf.cpp
_____
Modified: trunk/reactos/tools/rbuild/XML.cpp
--- trunk/reactos/tools/rbuild/XML.cpp 2005-10-20 15:17:38 UTC (rev
18633)
+++ trunk/reactos/tools/rbuild/XML.cpp 2005-10-20 15:28:35 UTC (rev
18634)
@@ -17,7 +17,7 @@
*/
#include "pch.h"
-#ifdef _MSC_VER
+#ifndef MAX_PATH
#define MAX_PATH _MAX_PATH
#endif
_____
Modified: trunk/reactos/tools/rbuild/ssprintf.cpp
--- trunk/reactos/tools/rbuild/ssprintf.cpp 2005-10-20 15:17:38 UTC
(rev 18633)
+++ trunk/reactos/tools/rbuild/ssprintf.cpp 2005-10-20 15:28:35 UTC
(rev 18634)
@@ -317,7 +317,7 @@
else if ( frac < -0.5 )
e--;
- result = numberf(f,__n/pow(10.0L,e),'f',size-4,
precision, type);
+ result = numberf(f,__n/pow(10.0L,(long
double)e),'f',size-4, precision, type);
if (result < 0)
return false;
f += exp_sign;
@@ -510,7 +510,7 @@
else if ( frac < -0.5 )
e--;
- result = wnumberf(f,__n/pow(10.0L,e),L'f',size-4,
precision, type);
+ result = wnumberf(f,__n/pow(10.0L,(long double)
e),L'f',size-4, precision, type);
if (result < 0)
return false;
f += exp_sign;
Show replies by date