qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1583716 - /qpid/proton/trunk/proton-c/bindings/perl/perl.i
Date Tue, 01 Apr 2014 15:37:56 GMT
Author: rhs
Date: Tue Apr  1 15:37:56 2014
New Revision: 1583716

URL: http://svn.apache.org/r1583716
Log:
PROTON-549: fixed one of the warnings in the perl binding

Modified:
    qpid/proton/trunk/proton-c/bindings/perl/perl.i

Modified: qpid/proton/trunk/proton-c/bindings/perl/perl.i
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/perl/perl.i?rev=1583716&r1=1583715&r2=1583716&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/perl/perl.i (original)
+++ qpid/proton/trunk/proton-c/bindings/perl/perl.i Tue Apr  1 15:37:56 2014
@@ -137,7 +137,9 @@ typedef int int32_t;
 
 %typemap(in) pn_uuid_t
 {
-  AV* tmpav = SvRV($input);
+  // XXX: I believe there is a typemap or something similar for
+  // typechecking the input. We should probably use it.
+  AV* tmpav = (AV *) SvRV($input);
   int index = 0;
 
   for(index = 0; index < 16; index++)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message