projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
793eadf
)
Remove unnecessary casts of alloca, since now it's guaranteed to be (void *).
author
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:21:35 +0000
(08:21 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 28 Sep 2003 08:21:35 +0000
(08:21 +0000)
src/od.c
patch
|
blob
|
history
diff --git
a/src/od.c
b/src/od.c
index
b1f6ca3
..
d362e66
100644
(file)
--- a/
src/od.c
+++ b/
src/od.c
@@
-1425,8
+1425,8
@@
dump (void)
int err;
size_t n_bytes_read;
- block[0] =
(char *)
alloca (bytes_per_block);
- block[1] =
(char *)
alloca (bytes_per_block);
+ block[0] = alloca (bytes_per_block);
+ block[1] = alloca (bytes_per_block);
current_offset = n_bytes_to_skip;