From 4f416d1ab65bf4ba18488bde6b7069fca6b88680 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Fri, 29 May 2009 21:10:08 -0700 Subject: [PATCH] Fix incorrect cast in typemap in Sort.i --- swig/Sort.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swig/Sort.i b/swig/Sort.i index 08812b7..d2740d7 100644 --- a/swig/Sort.i +++ b/swig/Sort.i @@ -46,7 +46,7 @@ int i=0; AV* tempav = newAV(); while( i < $2 ) { - av_push(tempav, newSVnv((double) $1[i])); + av_push(tempav, newSVnv((size_t) $1[i])); i++; } -- 2.11.4.GIT