[common] remove all casts around malloc
This commit is contained in:
1 parent
81c38e825c
commit
2de9e3e9be
7 files changed
+8
-8
No files matched your search
@@ -89,7 +89,7 @@ static bool load_symbols(void)
|
||||
}
|
||||
|
||||
long storage = bfd_get_symtab_upper_bound(crash.fd);
|
||||
crash.syms = (asymbol **)malloc(storage);
|
||||
crash.syms = malloc(storage);
|
||||
crash.symCount = bfd_canonicalize_symtab(crash.fd, crash.syms);
|
||||
if (crash.symCount < 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user