diff --git a/examples/c/pe_reader.c b/examples/c/pe_reader.c index f220e3ac9..b5934b96b 100644 --- a/examples/c/pe_reader.c +++ b/examples/c/pe_reader.c @@ -131,7 +131,7 @@ int main(int argc, char **argv) { section->entropy ); - if (section->size > 3 && section->content != NULL) { + if (section->content_size > 3 && section->content != NULL) { fprintf(stdout, "content[0..3]: %02x %02x %02x\n", section->content[0], section->content[1], section->content[2]); }