diff options
author | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-04-11 13:54:32 +0000 |
---|---|---|
committer | enge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4> | 2008-04-11 13:54:32 +0000 |
commit | 8adb31d6f2b006dc21545e754d09f0714204dbca (patch) | |
tree | 6754b2561107fef0603944d16de809eae30bba62 /tests/tsqr.c | |
parent | 545dd3cc85cbe29a7b9cdcb72677e0c07466011e (diff) | |
download | mpc-8adb31d6f2b006dc21545e754d09f0714204dbca.tar.gz |
eliminated comparisons between signed and unsigned
mainly by casting precisions (unsigned) to mp_exp_t (signed)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@105 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'tests/tsqr.c')
-rw-r--r-- | tests/tsqr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsqr.c b/tests/tsqr.c index e80d903..22d73a3 100644 --- a/tests/tsqr.c +++ b/tests/tsqr.c @@ -1,6 +1,6 @@ /* tsqr -- test file for mpc_sqr. -Copyright (C) 2002, 2005 Andreas Enge, Paul Zimmermann +Copyright (C) 2002, 2005, 2008 Andreas Enge, Paul Zimmermann This file is part of the MPC Library. @@ -204,7 +204,7 @@ main() { mpc_set_prec (x, prec); - for (i = 0; i < 1000/prec; i++) + for (i = 0; i < (int) (1000/prec); i++) { mpc_random (x); |