summaryrefslogtreecommitdiff
path: root/src/exceptions.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/exceptions.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/exceptions.c')
-rw-r--r--src/exceptions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exceptions.c b/src/exceptions.c
index 793b67c61..e83115e8b 100644
--- a/src/exceptions.c
+++ b/src/exceptions.c
@@ -22,7 +22,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include "mpfr-impl.h"
-unsigned int MPFR_THREAD_ATTR __gmpfr_flags = 0;
+mpfr_flags_t MPFR_THREAD_ATTR __gmpfr_flags = 0;
mpfr_exp_t MPFR_THREAD_ATTR __gmpfr_emin = MPFR_EMIN_DEFAULT;
mpfr_exp_t MPFR_THREAD_ATTR __gmpfr_emax = MPFR_EMAX_DEFAULT;