summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-06-21 22:52:43 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-06-21 22:52:43 -0400
commit31114fe9917b761bdc174de49e81de27555b30e9 (patch)
tree31d936aa9c1f48a5b71764ade13fff45102e277b /util.c
parent6ab56f1e9333e6777f0fd1d37c91574aa3a5af02 (diff)
downloadperl-31114fe9917b761bdc174de49e81de27555b30e9.tar.gz
g++ -DPERL_GLOBAL_STRUCT_PRIVATE died on this.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 4666233db9..3175f1f832 100644
--- a/util.c
+++ b/util.c
@@ -3450,7 +3450,7 @@ Perl_get_vtbl(pTHX_ int vtbl_id)
PERL_UNUSED_CONTEXT;
return (vtbl_id < 0 || vtbl_id >= magic_vtable_max)
- ? NULL : PL_magic_vtables + vtbl_id;
+ ? NULL : (MGVTBL*)PL_magic_vtables + vtbl_id;
}
I32