Skip to content

Commit dd926e4

Browse files
committed
Corrected format string from '%s' to '%i'
1 parent 29f28c4 commit dd926e4

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2017-04-20 James J Balamuta <[email protected]>
2+
3+
* inst/include/Rcpp/api/meat/DottedPairImpl.h: Corrected format specifier
4+
from '%s' to '%i'.
5+
6+
17
2017-04-18 James J Balamuta <[email protected]>
28

39
* inst/include/Rcpp/vector/Matrix.h: Corrected exception throws from

inst/include/Rcpp/api/meat/DottedPairImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace Rcpp{
5757

5858
if( static_cast<R_xlen_t>(index) > ::Rf_xlength(ref.get__()) ) {
5959
const char* fmt = "Dotted Pair index is out of bounds: "
60-
"[index=%s; extent=%s].";
60+
"[index=%i; extent=%i].";
6161

6262
throw index_out_of_bounds(fmt,
6363
static_cast<R_xlen_t>(index),

0 commit comments

Comments
 (0)