File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ 2024-09-29 Dirk Eddelbuettel <
[email protected] >
2
+
3
+ * inst/include/Rcpp/vector/Vector.h: Correct cast to R_xlen_t
4
+
1
5
2024-09-17 Dirk Eddelbuettel <
[email protected] >
2
6
3
7
* DESCRIPTION (Version, Date): Roll micro version
Original file line number Diff line number Diff line change 1
1
// Vector.h: Rcpp R/C++ interface class library -- vectors
2
2
//
3
- // Copyright (C) 2010 - 2023 Dirk Eddelbuettel and Romain Francois
3
+ // Copyright (C) 2010 - 2024 Dirk Eddelbuettel and Romain Francois
4
4
//
5
5
// This file is part of Rcpp.
6
6
//
@@ -331,7 +331,7 @@ class Vector :
331
331
}
332
332
333
333
inline iterator begin () { return cache.get () ; }
334
- inline iterator end () { return cache.get () + static_cast <int >(size ()) ; }
334
+ inline iterator end () { return cache.get () + static_cast <R_xlen_t >(size ()) ; }
335
335
inline const_iterator begin () const { return cache.get_const () ; }
336
336
inline const_iterator end () const { return cache.get_const () + size () ; }
337
337
inline const_iterator cbegin () const { return cache.get_const () ; }
You can’t perform that action at this time.
0 commit comments