X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fperl.c;h=c25bfe897870a8a83457c1c60e91b59c6767aa3e;hb=b66d5b90a0e59e943a61acb4b68ce55e88f08ade;hp=36c1e26743a3c84baa9da5dcf4899d03eef94d66;hpb=43d7245c20930161284e5784fbf115d1221a5951;p=collectd.git diff --git a/src/perl.c b/src/perl.c index 36c1e267..c25bfe89 100644 --- a/src/perl.c +++ b/src/perl.c @@ -2179,9 +2179,9 @@ static MGVTBL g_interval_vtbl = { /* bootstrap the Collectd module */ static void xs_init (pTHX) { - HV *stash = NULL; - SV *tmp = NULL; - const char *file = __FILE__; + HV *stash = NULL; + SV *tmp = NULL; + char *file = __FILE__; int i = 0;