This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
const-eight.diff
[perl5.git]
/
mg.c
diff --git
a/mg.c
b/mg.c
index
b1830b1
..
f56812e
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-2489,7
+2489,7
@@
Perl_magic_set(pTHX_ SV *sv, MAGIC *mg)
{
union pstun un;
s = SvPV(sv, len);
- un.pst_command = s;
+ un.pst_command =
(char *)
s;
pstat(PSTAT_SETCMD, un, len, 0, 0);
}
#endif