diff options
author | Dima Kogan <dima@secretsauce.net> | 2014-04-12 21:59:26 -0700 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-08-22 20:38:25 +0900 |
commit | 9b3f86711972fa4fc39449d461ea9bcbce295922 (patch) | |
tree | 60b22ce3152cb1aec217d98af8096858a6a1f879 /lens_default.c | |
parent | 796fb77897be01fd85a7a21aa31b68d4f3909308 (diff) | |
download | ltrace-9b3f86711972fa4fc39449d461ea9bcbce295922.tar.gz ltrace-9b3f86711972fa4fc39449d461ea9bcbce295922.tar.bz2 ltrace-9b3f86711972fa4fc39449d461ea9bcbce295922.zip |
fixed typo: toplevel_format_lens() now uses ptr data when talking about pointers
Diffstat (limited to 'lens_default.c')
-rw-r--r-- | lens_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lens_default.c b/lens_default.c index 958114f..fb66b9d 100644 --- a/lens_default.c +++ b/lens_default.c @@ -429,7 +429,7 @@ toplevel_format_lens(struct lens *lens, FILE *stream, case ARGTYPE_POINTER: if (value_is_zero(value, arguments)) return fprintf(stream, null_message); - if (value->type->u.array_info.elt_type->type != ARGTYPE_VOID) + if (value->type->u.ptr_info.info->type != ARGTYPE_VOID) return format_pointer(stream, value, arguments); return format_integer(stream, value, INT_FMT_x, arguments); |