mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-11-22 22:51:24 +00:00
[common] remove all casts around malloc
This commit is contained in:
@@ -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