From 42c93ee324296215eec0204cfc6fa0d4828418f5 Mon Sep 17 00:00:00 2001 From: zimmerma Date: Fri, 11 Feb 2000 17:08:37 +0000 Subject: unsigned char -> mp_rnd_t git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@463 280ebfd0-de03-0410-8827-d642c229c3f4 --- print_rnd_mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'print_rnd_mode.c') diff --git a/print_rnd_mode.c b/print_rnd_mode.c index a7bc1d06d..9c96dbb00 100644 --- a/print_rnd_mode.c +++ b/print_rnd_mode.c @@ -26,10 +26,10 @@ MA 02111-1307, USA. */ char * #if __STDC__ -mpfr_print_rnd_mode(unsigned char rnd_mode) +mpfr_print_rnd_mode(mp_rnd_t rnd_mode) #else mpfr_print_rnd_mode(rnd_mode) - unsigned char rnd_mode; + mp_rnd_t rnd_mode; #endif { switch (rnd_mode) @@ -38,6 +38,6 @@ mpfr_print_rnd_mode(rnd_mode) case GMP_RNDU: return("GMP_RNDU"); case GMP_RNDN: return("GMP_RNDN"); case GMP_RNDZ: return("GMP_RNDZ"); - default: return("unknown rounding mode"); + default: fprintf(stderr, "unknown rounding mode\n"); exit(1); } } -- cgit v1.2.1