Subject: | 64-bit patch |
Date: | Wed, 18 Feb 2009 20:05:55 +0100 |
To: | bug-Unicode-Map8 [...] rt.cpan.org |
From: | Gintautas Grigelionis <g.grigelionis [...] gmail.com> |
Please apply the following to make the 64-bit builds work
--- map8.h
+++ map8.h
@@ -81,7 +81,7 @@
U16* map8_to_str16(Map8*, U8*, U16*, int, int*);
U8* map8_to_str8 (Map8*, U16*, U8*, int, int*);
-U8* map8_recode_8(Map8*, Map8*, U8*, U8*, int, int*);
+U8* map8_recode8 (Map8*, Map8*, U8*, U8*, int, int*);
int map8_empty_block(Map8*, U8);
--- Map8.xs
+++ Map8.xs
@@ -348,7 +348,7 @@
Map8* m2
PREINIT:
STRLEN len;
- STRLEN rlen;
+ int rlen;
char* res;
INPUT:
char* str = SvPV(ST(2), len);