Skip to content

Commit bb719a7

Browse files
committed
Another 'clang++-17 -Wconversion -Wsign-conversion'
1 parent b694118 commit bb719a7

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2024-06-01 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/include/Rcpp/internal/Proxy_Iterator.h (Proxy_Iterator):
4+
Switch to R_xlen_t ('clang++-17 -Wconversion -Wno-sign-conversion')
5+
16
2024-05-28 Dirk Eddelbuettel <[email protected]>
27

38
* DESCRIPTION (Version, Date): Roll micro version

inst/include/Rcpp/internal/Proxy_Iterator.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
2-
/* :tabSize=4:indentSize=4:noTabs=false:folding=explicit:collapseFolds=1: */
3-
//
1+
42
// Proxy_Iterator.h: Rcpp R/C++ interface class library --
53
//
64
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
@@ -31,7 +29,7 @@ class Proxy_Iterator {
3129
public:
3230
typedef PROXY& reference ;
3331
typedef PROXY* pointer ;
34-
typedef int difference_type ;
32+
typedef R_xlen_t difference_type ;
3533
typedef PROXY value_type;
3634
typedef std::random_access_iterator_tag iterator_category ;
3735

@@ -122,4 +120,3 @@ class Proxy_Iterator {
122120
}
123121

124122
#endif
125-

0 commit comments

Comments
 (0)