summaryrefslogtreecommitdiff
path: root/bfd/mmo.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-11-20 02:09:56 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-11-20 02:09:56 +0000
commit814b32363140a768f375c7711a30141a96b0a17e (patch)
tree15b3bd3dbaa968ae0c5de5829d4be53629b2299b /bfd/mmo.c
parent90cdf78ff463cdb7aaa927ba83b7d555a0e1dbe4 (diff)
downloadbinutils-redhat-814b32363140a768f375c7711a30141a96b0a17e.tar.gz
* bfd-in.h (struct stat): Don't typedef.
* bfdio.c (bfd_get_size): Return a file_ptr. * cisco-core.c (cisco_core_file_validate): Use bfd_size_type for nread. * mmo.c (mmo_scan): Use file_ptr for curpos. * trad-core.c (trad_unix_core): Don't cast statbuf.st_size to unsigned long. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/mmo.c')
-rw-r--r--bfd/mmo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/mmo.c b/bfd/mmo.c
index 077e3a8b8a..731bb10dd6 100644
--- a/bfd/mmo.c
+++ b/bfd/mmo.c
@@ -1917,7 +1917,7 @@ mmo_scan (bfd *abfd)
/* This must be the last 32-bit word in an mmo file.
Let's find out. */
struct stat statbuf;
- long curpos = bfd_tell (abfd);
+ file_ptr curpos = bfd_tell (abfd);
if (bfd_stat (abfd, &statbuf) < 0)
goto error_return;