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:
Nick Clifton 2018-01-03 17:32:59 +00:00
parent 6f156d7a4a
commit f13974bda3
2 changed files with 7 additions and 2 deletions

View File

@ -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>
* objcopy.c (objcopy_internal_note): New structure.

View File

@ -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
handle gaps, we chose an artificially large end
address. */
end = 0x7ffffffffffffffUL;
end = (bfd_vma) 0x7ffffffffffffffUL;
break;
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
handle gaps, we chose an artificially large end
address. */
end = 0x7ffffffffffffffUL;
end = (bfd_vma) 0x7ffffffffffffffUL;
}
break;