* aoutx.h (NAME(aout,slurp_reloc_table)): Cast argument to size_t
[deliverable/binutils-gdb.git] / bfd / aoutx.h
index 8d2385ec58177927704e0608f84a5d692a8fe981..506d5eec4312eb674ed854271a1f1832b551c829 100644 (file)
@@ -2287,7 +2287,7 @@ NAME(aout,slurp_reloc_table) (abfd, asect, symbols)
     }
   memset (reloc_cache, 0, count * sizeof (arelent));
 
-  relocs = malloc (reloc_size);
+  relocs = malloc ((size_t) reloc_size);
   if (relocs == NULL && reloc_size != 0)
     {
       free (reloc_cache);
This page took 0.035657 seconds and 4 git commands to generate.