]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* windmc.c (main): Use correct type for file length.
authorNick Clifton <nickc@redhat.com>
Tue, 23 Dec 2008 11:49:58 +0000 (11:49 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 23 Dec 2008 11:49:58 +0000 (11:49 +0000)
        * dlltool.c (gen_exp_file): Likewise.

binutils/ChangeLog
binutils/dlltool.c
binutils/windmc.c

index c85fdf285fa7dd309fb8734d6e196cc8e3bdaeae..7ce67a058409bc6ccb983af1d4b9d1bb19746c8f 100644 (file)
@@ -1,3 +1,8 @@
+2008-12-23  Nick Clifton  <nickc@redhat.com>
+
+       * windmc.c (main): Use correct type for file length.
+       * dlltool.c (gen_exp_file): Likewise.
+
 2008-12-01  Nick Clifton  <nickc@redhat.com>
 
        PR 7044
index 16e7c595e2067afc262b537c46471a0878b17f17..3f2776a8649c14ff59e250bbd50a56858d3ce7b5 100644 (file)
@@ -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;
index 84dac51dafa26437567613af0d16be55df552bf3..684f0d63a51c290ec8dfc4bbccf4ea114d7ac139 100644 (file)
@@ -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)