summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 32b9e2b133..4313742871 100644
--- a/perl.c
+++ b/perl.c
@@ -62,7 +62,7 @@ perl_alloc(void)
PerlInterpreter *my_perl;
/* New() needs interpreter, so call malloc() instead */
- my_perl = PerlMem_malloc(sizeof(PerlInterpreter));
+ my_perl = (PerlInterpreter*)PerlMem_malloc(sizeof(PerlInterpreter));
PERL_SET_INTERP(my_perl);
return my_perl;
}