From 46e7fbd9e5dbc39866cc70506dd135e795d35e33 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 1 Nov 2002 21:27:59 +0000 Subject: [PATCH] Remove the casts, they are no longer needed git-svn-id: svn://svn.cc65.org/cc65/trunk@1478 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- testcode/lib/div-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5