2004-10-13 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / coffcode.h
index 9d78c25257efce5bcdb3f02b315c9ed460ac1f6a..7bfdc6b1754e4c64330098b23ea28f86a1a17788 100644 (file)
@@ -3243,7 +3243,7 @@ coff_compute_section_file_positions (abfd)
 #ifdef COFF_PAGE_SIZE
       if ((abfd->flags & D_PAGED) != 0
          && (current->flags & SEC_ALLOC) != 0)
-       sofar += (current->vma - sofar) % page_size;
+       sofar += (current->vma - (bfd_vma) sofar) % page_size;
 #endif
       current->filepos = sofar;
 
This page took 0.025613 seconds and 4 git commands to generate.