Skip to content

Commit

Permalink
Fix signed warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Oct 15, 2020
1 parent 00f9bdd commit 3e26f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ XPtrImage magick_image_set_define( XPtrImage input, Rcpp::CharacterVector format
std::string val(value.at(0));
std::string fmt(format.at(0));
std::string key(name.at(0));
for(int i = 0; i < input->size(); i++){
for(size_t i = 0; i < input->size(); i++){
if(!val.length()){
input->at(i).defineSet(fmt, key, true); // empty string
} else if(Rcpp::CharacterVector::is_na(value.at(0))) {
Expand Down

0 comments on commit 3e26f06

Please sign in to comment.