From 9b3f86711972fa4fc39449d461ea9bcbce295922 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Sat, 12 Apr 2014 21:59:26 -0700 Subject: [PATCH] fixed typo: toplevel_format_lens() now uses ptr data when talking about pointers --- lens_default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4