From 335b30a971618cba8b82fab99829a743e9324172 Mon Sep 17 00:00:00 2001 From: mike Date: Mon, 29 Oct 2007 11:50:49 +0000 Subject: [PATCH] Use STRLEN type for _unused_len instead of unsigned: this prevents a (possibly serious) warning on some 64-bit architectures. --- typemap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typemap b/typemap index 3ceed40..2523a37 100644 --- a/typemap +++ b/typemap @@ -1,4 +1,4 @@ -# $Id: typemap,v 1.7 2006-11-03 09:37:57 mike Exp $ +# $Id: typemap,v 1.8 2007-10-29 11:50:49 mike Exp $ ZOOM_connection T_PTROBJ ZOOM_connection * T_PTROBJ @@ -67,7 +67,7 @@ T_OPAQUE_STRUCT else croak(\"$var is not of type ${ntype}\") T_OPAQUECHAR - { unsigned _unused_len; + { STRLEN _unused_len; $var = ($type) SvPV($arg, _unused_len); } # --------------------------------------------------------------------------- -- 1.7.10.4