Skip to content

Commit

Permalink
Another 'clang++-17 -Wconversion -Wsign-conversion'
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jun 1, 2024
1 parent b694118 commit bb719a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-06-01 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/internal/Proxy_Iterator.h (Proxy_Iterator):
Switch to R_xlen_t ('clang++-17 -Wconversion -Wno-sign-conversion')

2024-05-28 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version
Expand Down
7 changes: 2 additions & 5 deletions inst/include/Rcpp/internal/Proxy_Iterator.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 8 -*-
/* :tabSize=4:indentSize=4:noTabs=false:folding=explicit:collapseFolds=1: */
//

// Proxy_Iterator.h: Rcpp R/C++ interface class library --
//
// Copyright (C) 2010 - 2013 Dirk Eddelbuettel and Romain Francois
Expand Down Expand Up @@ -31,7 +29,7 @@ class Proxy_Iterator {
public:
typedef PROXY& reference ;
typedef PROXY* pointer ;
typedef int difference_type ;
typedef R_xlen_t difference_type ;
typedef PROXY value_type;
typedef std::random_access_iterator_tag iterator_category ;

Expand Down Expand Up @@ -122,4 +120,3 @@ class Proxy_Iterator {
}

#endif

0 comments on commit bb719a7

Please sign in to comment.