From: cuz Date: Fri, 1 Nov 2002 21:27:59 +0000 (+0000) Subject: Remove the casts, they are no longer needed X-Git-Tag: V2.12.0~2154 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=46e7fbd9e5dbc39866cc70506dd135e795d35e33;p=cc65 Remove the casts, they are no longer needed git-svn-id: svn://svn.cc65.org/cc65/trunk@1478 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/testcode/lib/div-test.c b/testcode/lib/div-test.c index 15018e653..5b34341f7 100644 --- a/testcode/lib/div-test.c +++ b/testcode/lib/div-test.c @@ -13,7 +13,7 @@ static bool test(int dividend, int divisor) { div_t result; - (long)result = (long)div(dividend, divisor); + result = div(dividend, divisor); printf("%+d/%+d= %+d, %+d%%%+d= %+d, div()= %+d, %+d\n", dividend, divisor, dividend / divisor, dividend, divisor, dividend % divisor,