mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-31 11:30:56 +08:00
Remove extraneous float casts in wcstod.c.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
84e58ab648
commit
f46f501471
@ -282,7 +282,7 @@ wcstof_l (const wchar_t *__restrict nptr, wchar_t **__restrict endptr,
|
||||
if (isinf (retval) && !isinf (val))
|
||||
_REENT->_errno = ERANGE;
|
||||
#endif
|
||||
return (float)retval;
|
||||
return retval;
|
||||
}
|
||||
|
||||
float
|
||||
@ -299,7 +299,7 @@ _DEFUN (wcstof, (nptr, endptr),
|
||||
_REENT->_errno = ERANGE;
|
||||
#endif
|
||||
|
||||
return (float)retval;
|
||||
return retval;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user