diff options
author | Jim Meyering <jim@meyering.net> | 2003-04-11 10:51:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-04-11 10:51:56 +0000 |
commit | 6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271 (patch) | |
tree | b96ee698e2bd8020d500f01cbf6d6efa743b8a69 /src/cp.c | |
parent | eaff43d5a8173b9c576dadb8d123e3348fb1b809 (diff) | |
download | coreutils-6c93bdeeaa8a322b76c48ffc17a2205f6c3f5271.tar.xz |
Remove anachronistic casts of xmalloc,
xrealloc, and xcalloc return values and of xrealloc's first argument.
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -414,7 +414,7 @@ make_path_private (const char *const_dirpath, int src_offset, int mode, /* Add this directory to the list of directories whose modes need fixing later. */ struct dir_attr *new = - (struct dir_attr *) xmalloc (sizeof (struct dir_attr)); + xmalloc (sizeof (struct dir_attr)); new->slash_offset = slash - dirpath; new->next = *attr_list; *attr_list = new; |