forked from Imagelibrary/binutils-gdb
sim: remove use of PTR
PTR will soon disappear from ansidecl.h. Remove uses in sim. Where a PTR cast is used in assignment or function args to a void* I've simply removed the unnecessary (in C) cast rather than replacing with (void *).
This commit is contained in:
@@ -812,7 +812,7 @@ cb_read_target_syscall_maps (host_callback *cb, const char *file)
|
||||
if (cb->signal_map)
|
||||
free (cb->signal_map);
|
||||
if (cb->stat_map)
|
||||
free ((PTR) cb->stat_map);
|
||||
free ((void *) cb->stat_map);
|
||||
|
||||
cb->syscall_map = syscall_map;
|
||||
cb->errno_map = errno_map;
|
||||
|
||||
Reference in New Issue
Block a user