summaryrefslogtreecommitdiff
path: root/src/gmp_op.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-03-26 14:40:34 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-03-26 14:40:34 +0000
commite51e528654637f87bceaa78b28692ff6851f7a58 (patch)
tree8136dd7c58d6cb7f739454329de8ef7bd57f9dec /src/gmp_op.c
parentd174cbec56809cb5c6e079f09927525e71b83cba (diff)
downloadmpfr-e51e528654637f87bceaa78b28692ff6851f7a58.tar.gz
[src] New mpfr_flags_t type, defined as an unsigned int. For the
__gmpfr_flags variable and internal flags-related variables, replaced unsigned int by mpfr_flags_t (note that this doesn't change the ABI, since unsigned int was already used). [tests] Cast __gmpfr_flags to unsigned int when printed with %u. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8130 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/gmp_op.c')
-rw-r--r--src/gmp_op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmp_op.c b/src/gmp_op.c
index 88966f3c7..335b37edc 100644
--- a/src/gmp_op.c
+++ b/src/gmp_op.c
@@ -128,7 +128,7 @@ mpfr_cmp_z (mpfr_srcptr x, mpz_srcptr z)
mpfr_t t;
int res;
mpfr_prec_t p;
- unsigned int flags;
+ mpfr_flags_t flags;
if (MPFR_UNLIKELY (MPFR_IS_SINGULAR (x)))
return mpfr_cmp_si (x, mpz_sgn (z));