outmacho: don't use raa_read() for pointer values
If we write pointers, we have to read pointers. This unbreaks non-64-bit bigendian systems. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
a7c8e39686
commit
a5992a4c41
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ static struct section *get_section_by_index(int32_t index)
|
|||
if (index < 0 || index >= SEG_ABS || (index & 1))
|
||||
return NULL;
|
||||
|
||||
return (struct section *)raa_read(section_by_index, index >> 1);
|
||||
return raa_read_ptr(section_by_index, index >> 1);
|
||||
}
|
||||
|
||||
struct dir_list {
|
||||
|
|
Loading…
Reference in a new issue