Fix VC compilation of universal.c as C++ following commit 613875e219
authorSteve Hay <steve.m.hay@googlemail.com>
Wed, 10 Oct 2012 12:56:36 +0000 (13:56 +0100)
committerSteve Hay <steve.m.hay@googlemail.com>
Wed, 10 Oct 2012 12:56:36 +0000 (13:56 +0100)
universal.c

index e717459..9f632ee 100644 (file)
@@ -1415,7 +1415,7 @@ Perl_boot_core_UNIVERSAL(pTHX)
 {
     dVAR;
     static const char file[] = __FILE__;
-    struct xsub_details *xsub = details;
+    const struct xsub_details *xsub = details;
     const struct xsub_details *end
        = details + sizeof(details) / sizeof(details[0]);