projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
XEmacs 21.2.14.
[chise/xemacs-chise.git.1]
/
src
/
elhash.c
diff --git
a/src/elhash.c
b/src/elhash.c
index
686f78f
..
a802123
100644
(file)
--- a/
src/elhash.c
+++ b/
src/elhash.c
@@
-411,7
+411,7
@@
make_general_lisp_hash_table (size_t size,
double rehash_threshold)
{
Lisp_Object hash_table;
double rehash_threshold)
{
Lisp_Object hash_table;
- Lisp_Hash_Table *ht = alloc_lcrecord_type (Lisp_Hash_Table, lrecord_hash_table);
+ Lisp_Hash_Table *ht = alloc_lcrecord_type (Lisp_Hash_Table, &lrecord_hash_table);
ht->type = type;
ht->rehash_size = rehash_size;
ht->type = type;
ht->rehash_size = rehash_size;
@@
-832,7
+832,7
@@
The keys and values will not themselves be copied.
(hash_table))
{
CONST Lisp_Hash_Table *ht_old = xhash_table (hash_table);
(hash_table))
{
CONST Lisp_Hash_Table *ht_old = xhash_table (hash_table);
- Lisp_Hash_Table *ht = alloc_lcrecord_type (Lisp_Hash_Table, lrecord_hash_table);
+ Lisp_Hash_Table *ht = alloc_lcrecord_type (Lisp_Hash_Table, &lrecord_hash_table);
copy_lcrecord (ht, ht_old);
copy_lcrecord (ht, ht_old);