diff options
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r-- | ld/ldlang.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h index 3e3e6a0..24a5099 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -574,7 +574,7 @@ extern asection *section_for_dot #define LANG_FOR_EACH_INPUT_STATEMENT(statement) \ lang_input_statement_type *statement; \ - for (statement = file_chain.head == NULL ? NULL : &file_chain.head->input_statement; \ + for (statement = (lang_input_statement_type *) file_chain.head; \ statement != NULL; \ statement = statement->next) |