summaryrefslogtreecommitdiff
path: root/compiler/elf_writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/elf_writer.h')
-rw-r--r--compiler/elf_writer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elf_writer.h b/compiler/elf_writer.h
index 033c1f8c05..8e13b51bbe 100644
--- a/compiler/elf_writer.h
+++ b/compiler/elf_writer.h
@@ -38,8 +38,8 @@ class ElfWriter {
// Looks up information about location of oat file in elf file container.
// Used for ImageWriter to perform memory layout.
static void GetOatElfInformation(File* file,
- size_t& oat_loaded_size,
- size_t& oat_data_offset);
+ size_t* oat_loaded_size,
+ size_t* oat_data_offset);
// Returns runtime oat_data runtime address for an opened ElfFile.
static uintptr_t GetOatDataAddress(ElfFile* elf_file);