diff options
Diffstat (limited to 'lib/div64.c')
| -rw-r--r-- | lib/div64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/div64.c b/lib/div64.c index 19ea7ed4b948..62a698a432bc 100644 --- a/lib/div64.c +++ b/lib/div64.c | |||
| @@ -162,7 +162,7 @@ s64 div64_s64(s64 dividend, s64 divisor) | |||
| 162 | { | 162 | { |
| 163 | s64 quot, t; | 163 | s64 quot, t; |
| 164 | 164 | ||
| 165 | quot = div64_u64(abs64(dividend), abs64(divisor)); | 165 | quot = div64_u64(abs(dividend), abs(divisor)); |
| 166 | t = (dividend ^ divisor) >> 63; | 166 | t = (dividend ^ divisor) >> 63; |
| 167 | 167 | ||
| 168 | return (quot ^ t) - t; | 168 | return (quot ^ t) - t; |
