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.
This commit is contained in:
parent
80b476c2bf
commit
2d5bddc1eb
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2016-08-02 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR binutils/17512
|
||||||
|
* resbin.c (bin_to_res_version): Cast variables to correct type
|
||||||
|
for printing in error message.
|
||||||
|
|
||||||
2016-07-28 Nick Clifton <nickc@redhat.com>
|
2016-07-28 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR binutils/17512
|
PR binutils/17512
|
||||||
|
|
|
@ -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. */
|
/* PR 17512: The verlen field does not include padding length. */
|
||||||
if (verlen > length)
|
if (verlen > length)
|
||||||
fatal (_("version length %lu greater than resource length %lu"),
|
fatal (_("version length %lu greater than resource length %lu"),
|
||||||
verlen, length);
|
(unsigned long) verlen, (unsigned long) length);
|
||||||
|
|
||||||
if (type != 0)
|
if (type != 0)
|
||||||
fatal (_("unexpected version type %d"), (int) type);
|
fatal (_("unexpected version type %d"), (int) type);
|
||||||
|
|
Loading…
Reference in a new issue