Module: wine Branch: master Commit: 2043035e1749e40e23853d751ac1410d39fc8d27 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2043035e1749e40e23853d751a...
Author: Gregor Schneider grschneider@gmail.com Date: Mon Nov 23 21:09:02 2009 +0100
msvcrt: Calculate floating point decimals in internally used long double precision.
---
dlls/msvcrt/scanf.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/scanf.h b/dlls/msvcrt/scanf.h index 3eb705b..953c133 100644 --- a/dlls/msvcrt/scanf.h +++ b/dlls/msvcrt/scanf.h @@ -266,7 +266,7 @@ _FUNCTION_ { } /* handle decimals */ if (width!=0 && nch == '.') { - float dec = 1; + long double dec = 1; nch = _GETC_(file); if (width>0) width--; while (width!=0 && (nch!=_EOF_) && _ISDIGIT_(nch)) {