aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;