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-hash.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-hash.c')
-rw-r--r-- | src/cp-hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cp-hash.c b/src/cp-hash.c index 396fed182..5328d7712 100644 --- a/src/cp-hash.c +++ b/src/cp-hash.c @@ -1,5 +1,5 @@ /* cp-hash.c -- file copying (hash search routines) - Copyright (C) 89, 90, 91, 1995-2002 Free Software Foundation. + Copyright (C) 89, 90, 91, 1995-2003 Free Software Foundation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -126,7 +126,7 @@ remember_copied (const char *name, ino_t ino, dev_t dev) struct Src_to_dest *ent; struct Src_to_dest *ent_from_table; - ent = (struct Src_to_dest *) xmalloc (sizeof *ent); + ent = xmalloc (sizeof *ent); ent->name = xstrdup (name); ent->st_ino = ino; ent->st_dev = dev; |