diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-01-23 00:44:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-01-23 00:44:29 +0100 |
commit | 73c080f9c07a8eed713c0e62bdbdce31ac5bbf86 (patch) | |
tree | b09b643919704ad5fe359dba87d05c064a14e7e2 /libguile/hashtab.c | |
parent | fb8b2a9d6006077700e84b24d824180d2a433e1c (diff) | |
download | guile-73c080f9c07a8eed713c0e62bdbdce31ac5bbf86.tar.gz |
Adjust tests that relied on the output of the hash table printer.
* libguile/hashtab.c (scm_i_hashtable_print): Use `SCM_UNPACK', not
`SCM2PTR'.
* test-suite/tests/hash.test: Adjust tests that rely on the output of
the printer to just check for the suffix of the hash table's external
representation.
Diffstat (limited to 'libguile/hashtab.c')
-rw-r--r-- | libguile/hashtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/hashtab.c b/libguile/hashtab.c index 1b02d4bf8..f337ebf8a 100644 --- a/libguile/hashtab.c +++ b/libguile/hashtab.c @@ -395,7 +395,7 @@ scm_i_hashtable_print (SCM exp, SCM port, scm_print_state *pstate) else if (SCM_HASHTABLE_DOUBLY_WEAK_P (exp)) scm_puts ("doubly-weak-", port); scm_puts ("hash-table ", port); - scm_uintprint (SCM2PTR (exp), 16, port); + scm_uintprint (SCM_UNPACK (exp), 16, port); scm_putc (' ', port); scm_uintprint (SCM_HASHTABLE_N_ITEMS (exp), 10, port); scm_putc ('/', port); |