aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 09:33:17 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 09:33:17 +0000
commit30f83070c7c5455032218f285b52e1906b3fa351 (patch)
tree7e32b3b8cf142dc83842b1ab34b01634e3c41f3a
parentlibsbutil: drop log_domain volatile markings (diff)
downloadsandbox-30f83070c7c5455032218f285b52e1906b3fa351.tar.gz
sandbox-30f83070c7c5455032218f285b52e1906b3fa351.tar.bz2
sandbox-30f83070c7c5455032218f285b52e1906b3fa351.zip
sandbox: drop pointless cast
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--src/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.c b/src/sandbox.c
index d8128b1..0e1c898 100644
--- a/src/sandbox.c
+++ b/src/sandbox.c
@@ -131,7 +131,7 @@ int print_sandbox_log(char *sandbox_log)
return 0;
}
- buffer = (char *)xmalloc((len + 1) * sizeof(char));
+ buffer = xmalloc((len + 1) * sizeof(char));
if (NULL == buffer) {
perror("sandbox: Could not allocate buffer for Log file");
return 0;