Author: akhaldi
Date: Sat Aug 6 10:18:08 2016
New Revision: 72132
URL:
http://svn.reactos.org/svn/reactos?rev=72132&view=rev
Log:
[CRT] Correct some types. CORE-11799
Modified:
trunk/reactos/sdk/lib/crt/float/i386/cntrlfp.c
trunk/reactos/sdk/lib/crt/float/i386/fpreset.c
trunk/reactos/sdk/lib/crt/float/i386/statfp.c
Modified: trunk/reactos/sdk/lib/crt/float/i386/cntrlfp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/float/i386/cnt…
==============================================================================
--- trunk/reactos/sdk/lib/crt/float/i386/cntrlfp.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/float/i386/cntrlfp.c [iso-8859-1] Sat Aug 6 10:18:08 2016
@@ -42,7 +42,7 @@
*/
unsigned int CDECL _control87(unsigned int newval, unsigned int mask)
{
- unsigned int fpword = 0;
+ unsigned short fpword = 0;
unsigned int flags = 0;
TRACE("(%08x, %08x): Called\n", newval, mask);
Modified: trunk/reactos/sdk/lib/crt/float/i386/fpreset.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/float/i386/fpr…
==============================================================================
--- trunk/reactos/sdk/lib/crt/float/i386/fpreset.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/float/i386/fpreset.c [iso-8859-1] Sat Aug 6 10:18:08 2016
@@ -12,7 +12,7 @@
*/
void CDECL _fpreset(void)
{
- const unsigned int x86_cw = 0x27f;
+ const unsigned short x86_cw = 0x27f;
#ifdef _MSC_VER
__asm { fninit }
__asm { fldcw [x86_cw] }
Modified: trunk/reactos/sdk/lib/crt/float/i386/statfp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/float/i386/sta…
==============================================================================
--- trunk/reactos/sdk/lib/crt/float/i386/statfp.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/float/i386/statfp.c [iso-8859-1] Sat Aug 6 10:18:08 2016
@@ -25,7 +25,7 @@
unsigned int CDECL _statusfp(void)
{
unsigned int retVal = 0;
- unsigned int fpword;
+ unsigned short fpword;
#ifdef _M_AMD64
fpword = _mm_getcsr();