From ca48c8fc1b7185203262eef1cb893de6cef191f6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 23 Dec 2008 11:49:58 +0000 Subject: [PATCH] * windmc.c (main): Use correct type for file length. * dlltool.c (gen_exp_file): Likewise. --- binutils/ChangeLog | 5 +++++ binutils/dlltool.c | 2 +- binutils/windmc.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) 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) -- 2.47.3