summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-04-29 23:57:39 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:25 +0900
commit8a5eaa17e9ce6ba947c710deb88cff3c533a53ec (patch)
tree3c0985e7b39be0b70bc95f469d2f1e64ae52a190
parentccd9f24a3eb74dbc884c21859b1aaa141834528d (diff)
downloadltrace-8a5eaa17e9ce6ba947c710deb88cff3c533a53ec.tar.gz
ltrace-8a5eaa17e9ce6ba947c710deb88cff3c533a53ec.tar.bz2
ltrace-8a5eaa17e9ce6ba947c710deb88cff3c533a53ec.zip
unknown pointers now return void*, not void
-rw-r--r--dwarf_prototypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 71f6e90..ec39758 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -545,7 +545,7 @@ static bool get_type(struct arg_type_info** info, Dwarf_Die* type_die, struct pr
if (!get_type_die(&next_die, type_die)) {
// the pointed-to type isn't defined, so I report a void*
- *info = type_get_simple(ARGTYPE_VOID);
+ *info = type_get_voidptr();
complain(type_die, "Storing void-pointer type: %p", *info);
dict_insert(type_dieoffset_hash, &die_offset, info);
return true;