aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-07-30 04:34:58 +0000
committerAlan Modra <amodra@gmail.com>2008-07-30 04:34:58 +0000
commit0af1713e7cd57b52f6c81f73aa58934132198880 (patch)
treeaf4b52a6c5f3c8cd570e4f266f019cf552d6f442 /bfd/ecoff.c
parent * cli/cli-decode.c (lookup_cmd_1): Use memcpy. (diff)
downloadbinutils-gdb-0af1713e7cd57b52f6c81f73aa58934132198880.tar.gz
binutils-gdb-0af1713e7cd57b52f6c81f73aa58934132198880.tar.bz2
binutils-gdb-0af1713e7cd57b52f6c81f73aa58934132198880.zip
Silence gcc printf warnings
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 9b2a1c933de..a31bdb96b07 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -1038,7 +1038,7 @@ ecoff_emit_aggregate (bfd *abfd,
sprintf (string,
"%s %s { ifd = %u, index = %lu }",
which, name, ifd,
- ((long) indx
+ ((unsigned long) indx
+ debug_info->symbolic_header.iextMax));
}