Skip to content

Commit 294536a

Browse files
krlmlreddelbuettel
authored andcommitted
Inteface change: accept R_xlen_t instead of int in no_init() (#730)
* inteface change: accept R_xlen_t instead of int in no_init() * up year
1 parent dd6bcd3 commit 294536a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/include/Rcpp/vector/no_init.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// Vector.h: Rcpp R/C++ interface class library -- vectors
44
//
5-
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
5+
// Copyright (C) 2010 - 2017 Dirk Eddelbuettel and Romain Francois
66
//
77
// This file is part of Rcpp.
88
//
@@ -66,7 +66,7 @@ class no_init_matrix {
6666
int nc;
6767
} ;
6868

69-
inline no_init_vector no_init(int size) {
69+
inline no_init_vector no_init(R_xlen_t size) {
7070
return no_init_vector(size);
7171
}
7272

0 commit comments

Comments
 (0)