summaryrefslogtreecommitdiff
path: root/tests/tsqr.c
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-11 13:54:32 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2008-04-11 13:54:32 +0000
commit8adb31d6f2b006dc21545e754d09f0714204dbca (patch)
tree6754b2561107fef0603944d16de809eae30bba62 /tests/tsqr.c
parent545dd3cc85cbe29a7b9cdcb72677e0c07466011e (diff)
downloadmpc-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.c4
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);