Skip to content

Commit

Permalink
Fixing windows warning in R dev
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Feb 3, 2024
1 parent 4b47751 commit 11d121b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inst/include/epiworld/model-meat-print.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ inline const Model<TSeq> & Model<TSeq>::print(bool lite) const

if ((n_viruses_model > 10) && (i >= 10))
{
printf_epiworld(" ...and %li more viruses...\n", n_viruses_model - i);
printf_epiworld(" ...and %i more viruses...\n",
static_cast<int>(n_viruses_model) -
static_cast<int>(i)
);
break;
}

Expand Down

0 comments on commit 11d121b

Please sign in to comment.