[PATCH] Fix test failures on 64-bit architectures due to incompatible pointer types

Niko Tyni ntyni at debian.org
Sat Mar 20 21:31:17 UTC 2010


 http://bugs.debian.org/570670
 [rt.cpan.org #43404]
 [rt.cpan.org #24652].
 https://bugzilla.redhat.com/show_bug.cgi?id=182514
---
 Map8.xs |    2 +-
 map8.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Map8.xs b/Map8.xs
index 789f921..074ad99 100644
--- a/Map8.xs
+++ b/Map8.xs
@@ -347,7 +347,7 @@ recode8(m1, m2, str)
 	Map8* m2
 	PREINIT:
 	    STRLEN len;
-	    STRLEN rlen;
+	    int rlen;
 	    char*  res;
 	INPUT:
 	    char* str = SvPV(ST(2), len);
diff --git a/map8.h b/map8.h
index 007c5de..98dfb3b 100644
--- a/map8.h
+++ b/map8.h
@@ -80,7 +80,7 @@ void  map8_free(Map8*);
 
 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);
 
-- 
1.7.0


--jRHKVT23PllUwdXP--





More information about the pkg-perl-maintainers mailing list