* objcopy.c (merge_gnu_build_notes): Add cast to maximum address
	constants.
+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.
 
             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:
                 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;