From 74633dd0749d738b2b6de5c44e4aea514a97019a Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 20 Nov 2006 02:09:56 +0000 Subject: * 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. --- bfd/mmo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/mmo.c') diff --git a/bfd/mmo.c b/bfd/mmo.c index 077e3a8..731bb10 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; -- cgit v1.1