mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-18 23:32:17 -08:00
GC_call_with_alloc_lock: cast functions to GC_fn_type
This commit is contained in:
parent
2f89642227
commit
286714261d
1 changed files with 3 additions and 3 deletions
|
|
@ -506,19 +506,19 @@ copy_entry(struct ecl_hashtable_entry *e, cl_object h)
|
|||
struct ecl_hashtable_entry output = *e;
|
||||
switch (h->hash.weak) {
|
||||
case ecl_htt_weak_key:
|
||||
if (GC_call_with_alloc_lock(normalize_weak_key_entry,
|
||||
if (GC_call_with_alloc_lock((GC_fn_type)normalize_weak_key_entry,
|
||||
&output)) {
|
||||
return output;
|
||||
}
|
||||
break;
|
||||
case ecl_htt_weak_value:
|
||||
if (GC_call_with_alloc_lock(normalize_weak_value_entry,
|
||||
if (GC_call_with_alloc_lock((GC_fn_type)normalize_weak_value_entry,
|
||||
&output)) {
|
||||
return output;
|
||||
}
|
||||
break;
|
||||
case ecl_htt_weak_key_and_value:
|
||||
if (GC_call_with_alloc_lock(normalize_weak_key_and_value_entry,
|
||||
if (GC_call_with_alloc_lock((GC_fn_type)normalize_weak_key_and_value_entry,
|
||||
&output)) {
|
||||
return output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue