X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=lib%2Fdiv64.c;h=62a698a432bc6f618cd7b3ae1938b24e2215a93f;hb=ab023002e089f44cc330f5f677001da394ba5e97;hp=19ea7ed4b948297ae8f03367d3484840ec4456f6;hpb=7d769802427ef9a91eaf9b5a9a6283e71f2ba9d8;p=karo-tx-linux.git 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) { s64 quot, t; - quot = div64_u64(abs64(dividend), abs64(divisor)); + quot = div64_u64(abs(dividend), abs(divisor)); t = (dividend ^ divisor) >> 63; return (quot ^ t) - t;