X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fod-xcoff.c;h=9c9e4ae9a8cdc4b22fd5164b137be4ee79d0e892;hb=0ac553107c601cc9c4c340338e0fc7e0ce8375cc;hp=e5566bc9a73c7a97b790d4c646391ec862e1e295;hpb=fd3619828e94a24a92cddec42cbc0ab33352eeb4;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/od-xcoff.c b/binutils/od-xcoff.c index e5566bc9a7..9c9e4ae9a8 100644 --- a/binutils/od-xcoff.c +++ b/binutils/od-xcoff.c @@ -1,5 +1,5 @@ /* od-xcoff.c -- dump information about an xcoff object file. - Copyright (C) 2011-2019 Free Software Foundation, Inc. + Copyright (C) 2011-2020 Free Software Foundation, Inc. Written by Tristan Gingold, Adacore. This file is part of GNU Binutils. @@ -1680,8 +1680,10 @@ dump_dumpx_core (bfd *abfd, struct external_core_dumpx *hdr) { if (options[OPT_FILE_HEADER].selected) { - printf (" signal: %u\n", bfd_h_get_8 (abfd, hdr->c_signo)); - printf (" flags: 0x%02x\n", bfd_h_get_8 (abfd, hdr->c_flag)); + printf (" signal: %u\n", + (unsigned) bfd_h_get_8 (abfd, hdr->c_signo)); + printf (" flags: 0x%02x\n", + (unsigned) bfd_h_get_8 (abfd, hdr->c_flag)); printf (" entries: %u\n", (unsigned) bfd_h_get_16 (abfd, hdr->c_entries)); #ifdef BFD64