mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
fix compile problems with msvc6
svn path=/trunk/; revision=18634
This commit is contained in:
parent
f7dd935bcd
commit
0d623d28e1
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@
|
||||||
*/
|
*/
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifndef MAX_PATH
|
||||||
#define MAX_PATH _MAX_PATH
|
#define MAX_PATH _MAX_PATH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -317,7 +317,7 @@ numberf(std::string& f, double __n, char exp_sign, int size, int precision, int
|
||||||
else if ( frac < -0.5 )
|
else if ( frac < -0.5 )
|
||||||
e--;
|
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)
|
if (result < 0)
|
||||||
return false;
|
return false;
|
||||||
f += exp_sign;
|
f += exp_sign;
|
||||||
|
@ -510,7 +510,7 @@ wnumberf(std::wstring& f, double __n, wchar_t exp_sign, int size, int precision
|
||||||
else if ( frac < -0.5 )
|
else if ( frac < -0.5 )
|
||||||
e--;
|
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)
|
if (result < 0)
|
||||||
return false;
|
return false;
|
||||||
f += exp_sign;
|
f += exp_sign;
|
||||||
|
|
Loading…
Reference in a new issue