diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 23:36:04 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-19 23:36:04 +0000 |
commit | b95636c52fbb058a39548bcbc4e86456ebbd7b7b (patch) | |
tree | 0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /modutils | |
parent | 2375d75f3267e6e4370f221fea485eac8e73d402 (diff) | |
download | busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.gz busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.tar.bz2 busybox-w32-b95636c52fbb058a39548bcbc4e86456ebbd7b7b.zip |
remove casts from xmalloc()
Diffstat (limited to 'modutils')
-rw-r--r-- | modutils/insmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 7b715b9c3..19066972a 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -1131,7 +1131,7 @@ arch_apply_relocation(struct obj_file *f, | |||
1131 | /* We cannot relocate this one now because we don't know the value | 1131 | /* We cannot relocate this one now because we don't know the value |
1132 | of the carry we need to add. Save the information, and let LO16 | 1132 | of the carry we need to add. Save the information, and let LO16 |
1133 | do the actual relocation. */ | 1133 | do the actual relocation. */ |
1134 | n = (struct mips_hi16 *) xmalloc(sizeof *n); | 1134 | n = xmalloc(sizeof *n); |
1135 | n->addr = loc; | 1135 | n->addr = loc; |
1136 | n->value = v; | 1136 | n->value = v; |
1137 | n->next = ifile->mips_hi16_list; | 1137 | n->next = ifile->mips_hi16_list; |