[Rcpp-commits] r4318 - pkg/Rcpp/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat May 18 03:32:10 CEST 2013


Author: jjallaire
Date: 2013-05-18 03:32:08 +0200 (Sat, 18 May 2013)
New Revision: 4318

Modified:
   pkg/Rcpp/src/api.cpp
Log:
use unsigned long for RNG scope counter

Modified: pkg/Rcpp/src/api.cpp
===================================================================
--- pkg/Rcpp/src/api.cpp	2013-05-16 21:27:20 UTC (rev 4317)
+++ pkg/Rcpp/src/api.cpp	2013-05-18 01:32:08 UTC (rev 4318)
@@ -1942,7 +1942,7 @@
 namespace Rcpp{
     namespace internal{
         namespace {
-            int RNGScopeCounter = 0;
+            unsigned long RNGScopeCounter = 0;
         }
         
         void enterRNGScope() {       



More information about the Rcpp-commits mailing list