summaryrefslogtreecommitdiff
path: root/src/pdumper.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdumper.c')
-rw-r--r--src/pdumper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pdumper.c b/src/pdumper.c
index 6c581bcd0bc..aaa760d70d2 100644
--- a/src/pdumper.c
+++ b/src/pdumper.c
@@ -2664,7 +2664,9 @@ static void
hash_table_thaw (Lisp_Object hash)
{
struct Lisp_Hash_Table *h = XHASH_TABLE (hash);
- h->hash = Fmake_vector (h->hash, Qnil);
+ ALLOW_IMPLICIT_CONVERSION;
+ h->hash = make_nil_vector (XFIXNUM (h->hash));
+ DISALLOW_IMPLICIT_CONVERSION;
h->next = Fmake_vector (h->next, make_fixnum (-1));
h->index = Fmake_vector (h->index, make_fixnum (-1));