[Rcpp-commits] r2580 - pkg/Rcpp/inst/include/Rcpp/vector

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 29 10:56:10 CET 2010


Author: romain
Date: 2010-11-29 10:56:09 +0100 (Mon, 29 Nov 2010)
New Revision: 2580

Modified:
   pkg/Rcpp/inst/include/Rcpp/vector/Vector.h
Log:
try to please suncc

Modified: pkg/Rcpp/inst/include/Rcpp/vector/Vector.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/vector/Vector.h	2010-11-29 04:58:20 UTC (rev 2579)
+++ pkg/Rcpp/inst/include/Rcpp/vector/Vector.h	2010-11-29 09:56:09 UTC (rev 2580)
@@ -56,11 +56,11 @@
 	}
 	
 	Vector( const RObject::SlotProxy& proxy ) throw(not_compatible) {
-		RObject::setSEXP( r_cast<RTYPE>( proxy ) ) ;
+		RObject::setSEXP( r_cast<RTYPE>( (SEXP)proxy ) ) ;
 	}
 	
 	Vector( const RObject::AttributeProxy& proxy ) throw(not_compatible) {
-		RObject::setSEXP( r_cast<RTYPE>( proxy ) ) ;
+		RObject::setSEXP( r_cast<RTYPE>( (SEXP)proxy ) ) ;
 	}
 		
 	template <typename T>



More information about the Rcpp-commits mailing list