diff options
author | Nick Clifton <nickc@redhat.com> | 2016-08-02 11:06:28 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-08-02 11:06:28 +0100 |
commit | 2d5bddc1eb5d2c04ed142c7ba6fc13e2e3a28079 (patch) | |
tree | a182d5850114f03566d27bcf1db76fc0a2232cdd /binutils/resbin.c | |
parent | 80b476c2bf85be6676cc6b55dab232730e124147 (diff) | |
download | gdb-2d5bddc1eb5d2c04ed142c7ba6fc13e2e3a28079.zip gdb-2d5bddc1eb5d2c04ed142c7ba6fc13e2e3a28079.tar.gz gdb-2d5bddc1eb5d2c04ed142c7ba6fc13e2e3a28079.tar.bz2 |
Avoid compile time warning when building on 32-bit host.
PR binutils/17512
* resbin.c (bin_to_res_version): Cast variables to correct type
for printing in error message.
Diffstat (limited to 'binutils/resbin.c')
-rw-r--r-- | binutils/resbin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/resbin.c b/binutils/resbin.c index 9ca5408..11aa638 100644 --- a/binutils/resbin.c +++ b/binutils/resbin.c @@ -964,7 +964,7 @@ bin_to_res_version (windres_bfd *wrbfd, const bfd_byte *data, rc_uint_type lengt /* PR 17512: The verlen field does not include padding length. */ if (verlen > length) fatal (_("version length %lu greater than resource length %lu"), - verlen, length); + (unsigned long) verlen, (unsigned long) length); if (type != 0) fatal (_("unexpected version type %d"), (int) type); |