diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2010-11-14 15:37:59 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2010-11-14 15:37:59 +0100 |
commit | 70fbe1ab8e61572540e627c588bf869c99b7696b (patch) | |
tree | 001c0b2d127840a62f87d124a93c48cbcf5d0343 /tests/misc | |
parent | 9257198b97fa0a7bb7aa0a248b70b7e066bdfe04 (diff) | |
download | gmp-70fbe1ab8e61572540e627c588bf869c99b7696b.tar.gz |
More C++ edits.
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/t-printf.c | 2 |
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 |