mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:42:14 +00:00
Gregor Schneider <grschneider@gmail.com>
- Don't cast the floating point number to integer for conversion (numberf was created especially for floating point types) See issue #3585 for more details. svn path=/trunk/; revision=36130
This commit is contained in:
parent
8f3d28e83a
commit
3460318121
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ int __cdecl lnx_vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
|
|||
} else {
|
||||
if ( precision == -1 )
|
||||
precision = 6;
|
||||
str = numberf(str, end, (int)_double, base, field_width, precision, flags);
|
||||
str = numberf(str, end, _double, base, field_width, precision, flags);
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue