diff options
Diffstat (limited to 'sysdeps/powerpc/fesetround.c')
-rw-r--r-- | sysdeps/powerpc/fesetround.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fesetround.c b/sysdeps/powerpc/fesetround.c index 0afd6ce..875c897 100644 --- a/sysdeps/powerpc/fesetround.c +++ b/sysdeps/powerpc/fesetround.c @@ -32,7 +32,7 @@ fesetround (int round) u.fenv = fegetenv_register (); /* Set the relevant bits. */ - u.l[1] = u.l[1] & ~3 | round & 3; + u.l[1] = (u.l[1] & ~3) | (round & 3); /* Put the new state in effect. */ fesetenv_register (u.fenv); |