summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2010-11-14 15:37:59 +0100
committerTorbjorn Granlund <tege@gmplib.org>2010-11-14 15:37:59 +0100
commit70fbe1ab8e61572540e627c588bf869c99b7696b (patch)
tree001c0b2d127840a62f87d124a93c48cbcf5d0343 /tests/misc
parent9257198b97fa0a7bb7aa0a248b70b7e066bdfe04 (diff)
downloadgmp-70fbe1ab8e61572540e627c588bf869c99b7696b.tar.gz
More C++ edits.
Diffstat (limited to 'tests/misc')
-rw-r--r--tests/misc/t-printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/t-printf.c b/tests/misc/t-printf.c
index ad8fc3081..a9ef96faa 100644
--- a/tests/misc/t-printf.c
+++ b/tests/misc/t-printf.c
@@ -296,7 +296,7 @@ check_obstack_vprintf (const char *want, const char *fmt, va_list ap)
obstack_init (&ob);
got_len = gmp_obstack_vprintf (&ob, fmt, ap);
- got = obstack_base (&ob);
+ got = (char *) obstack_base (&ob);
ob_len = obstack_object_size (&ob);
if (got_len != want_len