1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

Remove anachronistic casts of xmalloc, xrealloc, and xcalloc return values.

This commit is contained in:
Jim Meyering
2003-04-11 12:20:35 +00:00
parent 9def4be367
commit 58b92bbeb2
8 changed files with 42 additions and 44 deletions

View File

@@ -227,7 +227,7 @@ canonicalize_file_name (const char *name)
new_size += end - start + 1;
else
new_size += PATH_MAX;
rpath = (char *) xrealloc (rpath, new_size);
rpath = xrealloc (rpath, new_size);
rpath_limit = rpath + new_size;
dest = rpath + dest_offset;