(bc_seg_write): Don't make unaligned reference to seg->data.
From-SVN: r6785
This commit is contained in:
parent
00f07fb912
commit
66bd81d9d0
@ -361,7 +361,7 @@ bc_seg_write (seg, file)
|
||||
if (i % 8 != 0)
|
||||
putc ('\n', file);
|
||||
|
||||
offset = *(int *) (seg->data + i);
|
||||
bcopy (seg->data + i, &offset, sizeof (int));
|
||||
i += sizeof (int) - 1;
|
||||
|
||||
BC_WRITE_RELOC_ENTRY (segreloc, file, offset);
|
||||
|
Loading…
x
Reference in New Issue
Block a user