From: Craig A. Berry Date: Thu, 23 Jan 2003 16:24:46 +0000 (-0600) Subject: const declaration fixup X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=69495e6aae8fbe200ffe8bf879f7802849dcbe79;p=p5sagit%2Fp5-mst-13.2.git const declaration fixup From: "Craig A. Berry" Message-Id: <3E306BAE.4030807@mac.com> p4raw-id: //depot/perl@18578 --- diff --git a/ext/Storable/Storable.xs b/ext/Storable/Storable.xs index e59914a..f1831b8 100644 --- 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)",