- Fix build

svn path=/trunk/; revision=57824
This commit is contained in:
Jérôme Gardou 2012-12-08 17:46:27 +00:00
parent f17fe2fe20
commit 752fa55287

View file

@ -125,7 +125,7 @@ int CDECL _controlfp_s(unsigned int *cur, unsigned int newval, unsigned int mask
if (!MSVCRT_CHECK_PMT( !(newval & mask & ~(_MCW_EM | _MCW_IC | _MCW_RC | _MCW_PC | _MCW_DN))))
{
if (cur) *cur = _controlfp( 0, 0 ); /* retrieve it anyway */
return MSVCRT_EINVAL;
return EINVAL;
}
val = _controlfp( newval, mask );
if (cur) *cur = val;