mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
Add cast to unsigned long
* pei-x86_64.c (pex64_bfd_print_pdata_section): Add cast to unsigned long.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-12-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* pei-x86_64.c (pex64_bfd_print_pdata_section): Add cast to
|
||||||
|
unsigned long.
|
||||||
|
|
||||||
2014-12-24 Pierre Muller <muller@sourceware.org>
|
2014-12-24 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
Add support for pdata output for pe coff objects.
|
Add support for pdata output for pe coff objects.
|
||||||
|
@ -509,7 +509,8 @@ pex64_bfd_print_pdata_section (bfd *abfd, void *vfile, asection *pdata_section)
|
|||||||
{
|
{
|
||||||
fprintf (file,
|
fprintf (file,
|
||||||
_("Warning: %s section size (%ld) is smaller than virtual size (%ld)\n"),
|
_("Warning: %s section size (%ld) is smaller than virtual size (%ld)\n"),
|
||||||
pdata_section->name, datasize, stop);
|
pdata_section->name, (unsigned long) datasize,
|
||||||
|
(unsigned long) stop);
|
||||||
/* Be sure not to read passed datasize. */
|
/* Be sure not to read passed datasize. */
|
||||||
stop = datasize / onaline;
|
stop = datasize / onaline;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user