diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-19 23:36:04 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-12-19 23:36:04 +0000 |
commit | 054e71820ce24b47f88465bb95c303d558355a91 (patch) | |
tree | 0f82f8e3d225f3bcefdbf7070ae0716f1b309630 /modutils | |
parent | eded4f7a23932a878ae06ba41964411299db5efb (diff) | |
download | busybox-w32-054e71820ce24b47f88465bb95c303d558355a91.tar.gz busybox-w32-054e71820ce24b47f88465bb95c303d558355a91.tar.bz2 busybox-w32-054e71820ce24b47f88465bb95c303d558355a91.zip |
remove casts from xmalloc()
git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
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; |