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 declaration fixup
[perl5.git]
/
ext
/
Storable
/
Storable.xs
diff --git
a/ext/Storable/Storable.xs
b/ext/Storable/Storable.xs
index
e59914a
..
f1831b8
100644
(file)
--- a/
ext/Storable/Storable.xs
+++ b/
ext/Storable/Storable.xs
@@
-3369,7
+3369,7
@@
static int magic_write(stcxt_t *cxt)
length -= sizeof (magicstr) - 1;
}
- WRITE(header, length);
+ WRITE(
(unsigned char*)
header, length);
if (!cxt->netorder) {
TRACEME(("ok (magic_write byteorder = 0x%lx [%d], I%d L%d P%d D%d)",