From 1dcdda88894990e91dd2fadf966a9aafe8333447 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/cisco-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/cisco-core.c') diff --git a/bfd/cisco-core.c b/bfd/cisco-core.c index 7d63118aef6..7cf623e284a 100644 --- a/bfd/cisco-core.c +++ b/bfd/cisco-core.c @@ -88,7 +88,7 @@ cisco_core_file_validate (abfd, crash_info_loc) char buf[4]; unsigned int crashinfo_offset; crashinfo_external crashinfo; - int nread; + bfd_size_type nread; unsigned int magic; unsigned int version; unsigned int rambase; -- cgit v1.2.1