aboutsummaryrefslogtreecommitdiff
path: root/gold/target.h
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@gmail.com>2018-08-06 13:36:42 -0700
committerCary Coutant <ccoutant@gmail.com>2018-08-06 13:36:42 -0700
commitdc1f2887c513c4c2110d2d997ab33ce36b9696fc (patch)
tree5f08963152f40f43f80af3ded6bee42728c4f059 /gold/target.h
parent296956befef3711ed458c7cba8041fde0dab9c50 (diff)
downloadgdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.zip
gdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.tar.gz
gdb-dc1f2887c513c4c2110d2d997ab33ce36b9696fc.tar.bz2
Fix type checking errors.
gold/ * target.h (Sized_target::record_gnu_property): Change first two parameters to unsigned int. * x86_64.cc (Target_x86_64::record_gnu_property): Likewise.
Diffstat (limited to 'gold/target.h')
-rw-r--r--gold/target.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/target.h b/gold/target.h
index bb31206..bbc8739 100644
--- a/gold/target.h
+++ b/gold/target.h
@@ -1147,7 +1147,8 @@ class Sized_target : public Target
// Record a target-specific program property in the .note.gnu.property
// section.
virtual void
- record_gnu_property(int, int, size_t, const unsigned char*, const Object*)
+ record_gnu_property(unsigned int, unsigned int, size_t,
+ const unsigned char*, const Object*)
{ }
// Merge the target-specific program properties from the current object.