Skip to content

Commit

Permalink
- Fix modulo bug that was masked by the correct code in libgcc.a whic…
Browse files Browse the repository at this point in the history
…h is

  used in almost all programs unless a shared library specifically
  ignores libgcc.a.
  • Loading branch information
YogoGit committed Nov 30, 1998
1 parent 93a4ebf commit 738006f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libc/quad/moddi3.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ __moddi3(a, b)
else
ua = a, neg = 0;
if (b < 0)
ub = -(u_quad_t)b, neg ^= 1;
ub = -(u_quad_t)b;
else
ub = b;
(void)__qdivrem(ua, ub, &ur);
Expand Down

0 comments on commit 738006f

Please sign in to comment.