]> git.sur5r.net Git - cc65/commitdiff
Remove the casts, they are no longer needed
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 1 Nov 2002 21:27:59 +0000 (21:27 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 1 Nov 2002 21:27:59 +0000 (21:27 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1478 b7a2c559-68d2-44c3-8de9-860c34a00d81

testcode/lib/div-test.c

index 15018e6535e15d576de97a153904c1a68b619474..5b34341f78bed87729380d41a5586606ae5da04e 100644 (file)
@@ -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,