Use a 32-bit value to hold the section number in the internal COFF symbol structure.
[deliverable/binutils-gdb.git] / bfd / coffswap.h
index b9122c8fcb5da524cde66607e9fed7c63227dc0c..e6c8c3f36c8e5fc9a9720c3541bf54019ca5e9bf 100644 (file)
@@ -322,7 +322,7 @@ coff_swap_sym_in (bfd * abfd, void * ext1, void * in1)
     }
 
   in->n_value = H_GET_32 (abfd, ext->e_value);
-  in->n_scnum = H_GET_16 (abfd, ext->e_scnum);
+  in->n_scnum = (short) H_GET_16 (abfd, ext->e_scnum);
   if (sizeof (ext->e_type) == 2)
     in->n_type = H_GET_16 (abfd, ext->e_type);
   else
This page took 0.025343 seconds and 4 git commands to generate.