diff options
author | Jim Meyering <jim@meyering.net> | 1997-01-09 02:33:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-01-09 02:33:44 +0000 |
commit | 9ca6f19a2dc4096f290f62672dd01219a572e937 (patch) | |
tree | 06d2934d36c171b6772c3bc7fea318fbec6d4727 /src | |
parent | 0acd885d83fa6a76f1ffef455ab748e6819ecc37 (diff) | |
download | coreutils-9ca6f19a2dc4096f290f62672dd01219a572e937.tar.xz |
(print_long_format): Cast alloca return value to char*.
Diffstat (limited to 'src')
-rw-r--r-- | src/ls.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2141,7 +2141,7 @@ print_long_format (const struct fileinfo *f) while (! (s = strftime (p, buf + bufsize - p, fmt, localtime (&when)))) { - char *newbuf = alloca (bufsize *= 2); + char *newbuf = (char *) alloca (bufsize *= 2); memcpy (newbuf, buf, p - buf); p = newbuf + (p - buf); buf = newbuf; |