summaryrefslogtreecommitdiff
path: root/tests/tset_str.c
diff options
context:
space:
mode:
authorhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-20 16:36:05 +0000
committerhanrot <hanrot@280ebfd0-de03-0410-8827-d642c229c3f4>2000-12-20 16:36:05 +0000
commitc203398da9e54d7c1a54188953ebc5044cb29893 (patch)
treed8b251a5906e647bc02f0aa8a15f7f6c8f1b529e /tests/tset_str.c
parent7fbe0fe848daeb9deb4df4e78fcf4ec847bb39cf (diff)
downloadmpfr-c203398da9e54d7c1a54188953ebc5044cb29893.tar.gz
A few basic patches.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@907 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests/tset_str.c')
-rw-r--r--tests/tset_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tset_str.c b/tests/tset_str.c
index 223fb308d..677720c93 100644
--- a/tests/tset_str.c
+++ b/tests/tset_str.c
@@ -64,7 +64,7 @@ main(int argc, char **argv)
}
*(str2++) = 'e';
- sprintf(str2, "%ld", random() - (1 << 30));
+ sprintf(str2, "%d", random() - (1 << 30));
mpfr_init2(x, nc + 10);
mpfr_set_str_raw(x, str);