Skip to content

Commit

Permalink
lld + (long long int)
Browse files Browse the repository at this point in the history
  • Loading branch information
paocorrales committed Jun 1, 2024
1 parent 939c1d3 commit 049f348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pdsi_ext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ void pdsi::Rext_init(NumericVector& P, NumericVector& PE,
calibrationEndYear = calib_e_yr;

if(input_len != PE.length())
Rf_error("Length of input P (%d) is not equal to input PE (%ld).",
input_len, PE.length());
Rf_error("Length of input P (%d) is not equal to input PE (%lld).",
input_len, (long long int)PE.length());

if(calibrationStartYear < startyear) {
Rf_warning("Calibrating start year (%d) is earlier than start year (%d), "
Expand Down

0 comments on commit 049f348

Please sign in to comment.