mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
Fix compile time warning introduced by previous delta.
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address constants.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2018-01-03 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* objcopy.c (merge_gnu_build_notes): Add cast to maximum address
|
||||||
|
constants.
|
||||||
|
|
||||||
2018-01-03 Nick Clifton <nickc@redhat.com>
|
2018-01-03 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* objcopy.c (objcopy_internal_note): New structure.
|
* objcopy.c (objcopy_internal_note): New structure.
|
||||||
|
@ -2064,7 +2064,7 @@ merge_gnu_build_notes (bfd * abfd, asection * sec, bfd_size_type size, bfd_byte
|
|||||||
For now though, since v1 and v2 was not intended to
|
For now though, since v1 and v2 was not intended to
|
||||||
handle gaps, we chose an artificially large end
|
handle gaps, we chose an artificially large end
|
||||||
address. */
|
address. */
|
||||||
end = 0x7ffffffffffffffUL;
|
end = (bfd_vma) 0x7ffffffffffffffUL;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 8:
|
case 8:
|
||||||
@ -2083,7 +2083,7 @@ merge_gnu_build_notes (bfd * abfd, asection * sec, bfd_size_type size, bfd_byte
|
|||||||
For now though, since v1 and v2 was not intended to
|
For now though, since v1 and v2 was not intended to
|
||||||
handle gaps, we chose an artificially large end
|
handle gaps, we chose an artificially large end
|
||||||
address. */
|
address. */
|
||||||
end = 0x7ffffffffffffffUL;
|
end = (bfd_vma) 0x7ffffffffffffffUL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user