]> www.ginac.de Git - cln.git/blobdiff - tests/test_I_ord2.cc
Fix sparc64 build with -DNO_ASM and reduce compiler warnings.
[cln.git] / tests / test_I_ord2.cc
index b4c1bd4c39035e8d624ae994dbd20df39faa0648..36fd58c49d7f38b7219ede631070d1f22689ef9a 100644 (file)
@@ -8,10 +8,10 @@ int test_I_ord2 (int iterations)
        for (i = iterations; i > 0; i--) {
                cl_I a = testrandom_I();
                if (a != 0) {
-                       uintL n = ord2(a);
-                       cl_I b = ash(a,-(sintL)n);
+                       uintC n = ord2(a);
+                       cl_I b = ash(a,-(sintC)n);
                        ASSERT1(oddp(b), a);
-                       ASSERT1(a == ash(b,(sintL)n), a);
+                       ASSERT1(a == ash(b,(sintC)n), a);
                }
        }
        return error;