summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-08-14 14:14:57 +0000
committerzimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4>2001-08-14 14:14:57 +0000
commit1881e0baa9b7b7a86333e73dce56bcddf49544c4 (patch)
tree78a0b51f24f865c5212aa987d6f65a0e4cfe1a15
parent6a81ea6c955bd4027a6fd4f83f7d842c2401b509 (diff)
downloadmpfr-1881e0baa9b7b7a86333e73dce56bcddf49544c4.tar.gz
added missing cast
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@1121 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r--tests/tget_str.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tget_str.c b/tests/tget_str.c
index 58403218d..a9dfa1b89 100644
--- a/tests/tget_str.c
+++ b/tests/tget_str.c
@@ -62,7 +62,9 @@ void check3 (double d, mp_rnd_t rnd, char *res)
void check_small ()
{
- mpfr_t x; char *s; mp_exp_t e;
+ mpfr_t x;
+ char *s;
+ mp_exp_t e;
mpfr_init(x);
@@ -88,7 +90,7 @@ void check_small ()
s = mpfr_get_str (NULL, &e, 8, 10, x, GMP_RNDU);
if (strcmp (s, "1073721522") || (e != -1))
{
- fprintf (stderr, "Error in mpfr_get_str (3): s=%s e=%d\n", s, e);
+ fprintf (stderr, "Error in mpfr_get_str (3): s=%s e=%d\n", s, (int) e);
exit (1);
}
free (s);