]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gold] Fix integer narrowing in switch users/roland/gold-narrowing-switch
authorRoland McGrath <mcgrathr@google.com>
Fri, 3 Aug 2018 21:38:20 +0000 (14:38 -0700)
committerRoland McGrath <mcgrathr@google.com>
Fri, 3 Aug 2018 21:38:20 +0000 (14:38 -0700)
commitccaf6a01bae457aba3a3f6baf1239bb55bc189a4
tree94e4a3593160c64472263a7781fcbb4a966867e6
parent4aae6e5abddb84e1225cfd696b8fd2c6832f9fb6
[gold] Fix integer narrowing in switch

gold/
* target.h (Sized_target::record_gnu_property): Use unsigned int
for second argument.
* x86_64.cc (Target_x86_64<size>::record_gnu_property): Likewise.
gold/ChangeLog
gold/target.h
gold/x86_64.cc