mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
* peXXigen.c (rsrc_print_section): Fix compile time warning for
32-bit hosts.
This commit is contained in:
parent
01f9f808e2
commit
08937d8023
@ -1,3 +1,8 @@
|
||||
2014-04-24 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* peXXigen.c (rsrc_print_section): Fix compile time warning for
|
||||
32-bit hosts.
|
||||
|
||||
2014-04-24 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 16867
|
||||
|
@ -2383,9 +2383,11 @@ rsrc_print_section (bfd * abfd, void * vfile)
|
||||
}
|
||||
|
||||
if (regions.strings_start != NULL)
|
||||
fprintf (file, " String table starts at %lx\n", regions.strings_start - regions.section_start);
|
||||
fprintf (file, " String table starts at %03x\n",
|
||||
(int) (regions.strings_start - regions.section_start));
|
||||
if (regions.resource_start != NULL)
|
||||
fprintf (file, " Resources start at %lx\n", regions.resource_start - regions.section_start);
|
||||
fprintf (file, " Resources start at %03xx\n",
|
||||
(int) (regions.resource_start - regions.section_start));
|
||||
|
||||
free (regions.section_start);
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user