diff options
-rw-r--r-- | libctf/ctf-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libctf/ctf-types.c b/libctf/ctf-types.c index 694d6ea..4d3c01d 100644 --- a/libctf/ctf-types.c +++ b/libctf/ctf-types.c @@ -602,7 +602,7 @@ ctf_type_resolve_unsliced (ctf_dict_t *fp, ctf_id_t type) const ctf_type_t *tp; if ((type = ctf_type_resolve (fp, type)) == CTF_ERR) - return -1; + return CTF_ERR; if ((tp = ctf_lookup_by_id (&fp, type)) == NULL) return CTF_ERR; /* errno is set for us. */ |