diff options
author | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2019-09-06 19:46:43 +0200 |
---|---|---|
committer | Marco Bodrato <bodrato@mail.dm.unipi.it> | 2019-09-06 19:46:43 +0200 |
commit | 4329b3abec5e3f5efc212d5de702b8a9aeaf06dc (patch) | |
tree | 31b655b69f38b32ef20e8be59b02bc2895c7c8d7 /tests | |
parent | c8cfccc22cac40eb38788ce5aef85fbeba1a5085 (diff) | |
download | gmp-4329b3abec5e3f5efc212d5de702b8a9aeaf06dc.tar.gz |
tests/mpq/t-get_str.c (check_one): Print the right pointer.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mpq/t-get_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mpq/t-get_str.c b/tests/mpq/t-get_str.c index d29e7663e..e58652188 100644 --- a/tests/mpq/t-get_str.c +++ b/tests/mpq/t-get_str.c @@ -64,8 +64,8 @@ check_one (mpq_srcptr q, int base, const char *want) { printf ("mpq_get_str wrong return value (passing non-NULL)\n"); printf (" base %d\n", base); - printf (" got %p\n", ret); - printf (" want %p\n", want); + printf (" got %p\n", (void *) ret); + printf (" want %p\n", (void *) str); abort (); } if (strcmp (str, want) != 0) |