[Rcpp-commits] r3859 - in pkg/Rcpp: . src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Oct 30 16:42:18 CET 2012


Author: romain
Date: 2012-10-30 16:42:18 +0100 (Tue, 30 Oct 2012)
New Revision: 3859

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/src/Attributes.cpp
Log:
remove warning

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-10-30 14:57:05 UTC (rev 3858)
+++ pkg/Rcpp/ChangeLog	2012-10-30 15:42:18 UTC (rev 3859)
@@ -16,6 +16,7 @@
         * include/Rcpp/as.h: new bare_as to simplify uses of as
         * include/Rcpp/module/Module_generated_Factory.h: using bare_as
         * R/Module.R: promoting the show method
+        * src/Attributes.cpp: remove g++ warning (int != size_t)
 
 2012-10-29  Dirk Eddelbuettel  <edd at debian.org>
 

Modified: pkg/Rcpp/src/Attributes.cpp
===================================================================
--- pkg/Rcpp/src/Attributes.cpp	2012-10-30 14:57:05 UTC (rev 3858)
+++ pkg/Rcpp/src/Attributes.cpp	2012-10-30 15:42:18 UTC (rev 3859)
@@ -433,7 +433,7 @@
 
     // Parse an attribute from the vector returned by regmatches
     Attribute parseAttribute(const std::vector<std::string>& match,
-                             size_t lineNumber) {
+                             int lineNumber) {
             
         // Attribute name
         std::string name = match[1];



More information about the Rcpp-commits mailing list