diff options
author | Jim Meyering <jim@meyering.net> | 1997-12-14 15:12:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-12-14 15:12:29 +0000 |
commit | e68f7b2e4b42a834d5cee09bb81a8be98d869478 (patch) | |
tree | b29c3dfdf8eeaaabf72bc64b88fd2b71bfeb4f8e /lib | |
parent | b1bd801e9421c95ce3b7d167978864f0370fa2d0 (diff) | |
download | coreutils-e68f7b2e4b42a834d5cee09bb81a8be98d869478.tar.xz |
cast memcpy to char*
Diffstat (limited to 'lib')
-rw-r--r-- | lib/strndup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strndup.c b/lib/strndup.c index f4b1f7ac1..b610e40e6 100644 --- a/lib/strndup.c +++ b/lib/strndup.c @@ -43,5 +43,5 @@ strndup (s, n) return NULL; new[n] = '\0'; - return memcpy (new, s, n); + return (char *) memcpy (new, s, n); } |