diff options
Diffstat (limited to 'libctf/ctf-lookup.c')
-rw-r--r-- | libctf/ctf-lookup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libctf/ctf-lookup.c b/libctf/ctf-lookup.c index 9e736a8..b5d2637 100644 --- a/libctf/ctf-lookup.c +++ b/libctf/ctf-lookup.c @@ -276,8 +276,9 @@ ctf_lookup_by_name_internal (ctf_dict_t *fp, ctf_dict_t *child, return ctf_set_typed_errno (fp, ENOMEM); } - if ((type = ctf_lookup_by_rawhash (fp, lp->ctl_hash, - fp->ctf_tmp_typeslice)) == 0) + if ((type = (ctf_id_t) (uintptr_t) + ctf_dynhash_lookup (lp->ctl_hash, + fp->ctf_tmp_typeslice)) == 0) goto notype; break; |