fix i386 fesetenv: FE_DFL_ENV is (fenv_t*)-1 not 0
This commit is contained in:
parent
37c25065be
commit
d684149910
1 changed files with 2 additions and 2 deletions
|
|
@ -66,9 +66,9 @@ fegetenv:
|
|||
fesetenv:
|
||||
mov 4(%esp),%ecx
|
||||
xor %eax,%eax
|
||||
test %ecx,%ecx
|
||||
inc %ecx
|
||||
jz 1f
|
||||
fldenv (%ecx)
|
||||
fldenv -1(%ecx)
|
||||
ret
|
||||
1: push %eax
|
||||
push %eax
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue