From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Modra To: binutils@sourceware.cygnus.com Subject: bfd_size_type Date: Mon, 27 Aug 2001 18:37:00 -0000 Message-id: <20010828105216.A26827@bubble.sa.bigpond.net.au> X-SW-Source: 2001-08/msg00648.html I've been looking at the huge number of warnings you get with -Wconversion. Most of these are in fact errors if you're trying to compile binutils with a K&R compiler from a 32 bit host to a 64 bit target, but I guess no one cares too much about trying to do that these days. Anyway, a large number of the warnings are about bfd_read args. I'm wondering why bfd_read has bfd_size_type args, as it's rather futile to try to read more than 2^32 bytes on a 32 bit host. Does anyone have an objection to simply using size_t for bfd_read? Alan