summaryrefslogtreecommitdiff
path: root/source/sys_unix.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-12-21 18:34:12 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-12-21 18:34:12 +0000
commita79ed051848531afb9a479f280bbcc39a4c29f44 (patch)
tree150ddaf19c6736f79364715e2c99c94cd5f65874 /source/sys_unix.c
parent994e19fb290ad41e625e69d98af125a02afe417a (diff)
Fixed garbage in high bits of FPU control word being
reported due to invalid local variable size.
Diffstat (limited to 'source/sys_unix.c')
-rw-r--r--source/sys_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/sys_unix.c b/source/sys_unix.c
index c6e50de..6f36c61 100644
--- a/source/sys_unix.c
+++ b/source/sys_unix.c
@@ -696,7 +696,7 @@ void Sys_FillAPI( sysAPI_t *api ) {
void Sys_FixFPCW( void ) {
#ifdef __i386__
- unsigned int cw;
+ uint16 cw;
__asm__ __volatile__( "fnstcw %0" : "=m" (cw) );