summaryrefslogtreecommitdiff
path: root/assembler/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'assembler/main.c')
-rw-r--r--assembler/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/assembler/main.c b/assembler/main.c
index 8579f963..f1d78d07 100644
--- a/assembler/main.c
+++ b/assembler/main.c
@@ -437,8 +437,8 @@ int main(int argc, char **argv)
}
for (entry = compiled_program.first; entry; entry = entry->next) {
- struct relocatable_instruction *reloc = &entry->insn.reloc;
- struct brw_instruction *inst = &reloc->gen;
+ struct relocation *reloc = &entry->reloc;
+ struct brw_instruction *inst = &entry->insn.gen;
if (!is_relocatable(entry))
continue;