From: Nick Clifton Date: Tue, 23 Dec 2008 11:49:58 +0000 (+0000) Subject: * windmc.c (main): Use correct type for file length. X-Git-Tag: binutils-2_19_1~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca48c8fc1b7185203262eef1cb893de6cef191f6;p=thirdparty%2Fbinutils-gdb.git * windmc.c (main): Use correct type for file length. * dlltool.c (gen_exp_file): Likewise. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index c85fdf285fa..7ce67a05840 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2008-12-23 Nick Clifton + + * windmc.c (main): Use correct type for file length. + * dlltool.c (gen_exp_file): Likewise. + 2008-12-01 Nick Clifton PR 7044 diff --git a/binutils/dlltool.c b/binutils/dlltool.c index 16e7c595e20..3f2776a8649 100644 --- a/binutils/dlltool.c +++ b/binutils/dlltool.c @@ -1980,7 +1980,7 @@ gen_exp_file (void) int addr; long need[PAGE_SIZE]; long page_addr; - int numbytes; + bfd_size_type numbytes; int num_entries; long *copy; int j; diff --git a/binutils/windmc.c b/binutils/windmc.c index 84dac51dafa..684f0d63a51 100644 --- a/binutils/windmc.c +++ b/binutils/windmc.c @@ -1144,7 +1144,7 @@ main (int argc, char **argv) unichar *u; rc_uint_type ul; char *buff; - long flen; + bfd_size_type flen; FILE *fp = fopen (input_filename, "rb"); if (!fp)