summaryrefslogtreecommitdiff
path: root/libbb/dump.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-19 23:36:04 +0000
committerDenis Vlasenko2006-12-19 23:36:04 +0000
commitb95636c52fbb058a39548bcbc4e86456ebbd7b7b (patch)
tree0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /libbb/dump.c
parent2375d75f3267e6e4370f221fea485eac8e73d402 (diff)
downloadbusybox-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.zip
busybox-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.gz
remove casts from xmalloc()
Diffstat (limited to 'libbb/dump.c')
-rw-r--r--libbb/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 1071089..d6e31b9 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -358,8 +358,8 @@ static unsigned char *get(void)
if (!curp) {
address = (off_t)0; /*DBU:[dave@cray.com] initialize,initialize..*/
- curp = (unsigned char *) xmalloc(bb_dump_blocksize);
- savp = (unsigned char *) xmalloc(bb_dump_blocksize);
+ curp = xmalloc(bb_dump_blocksize);
+ savp = xmalloc(bb_dump_blocksize);
} else {
tmpp = curp;
curp = savp;