Skip to content

Commit

Permalink
Merge pull request #1241 from RcppCore/feature/g++_warning
Browse files Browse the repository at this point in the history
Address a warning from g++-12
  • Loading branch information
eddelbuettel authored Jan 9, 2023
2 parents 39669cb + d55c1ed commit b57c7f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/attributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ namespace attributes {
// Look for the signature termination ({ or ; not inside quotes)
// on this line and then subsequent lines if necessary
std::string signature;
for (size_t i = lineNumber; i<lines_.size(); i++) {
for (size_t i = lineNumber; i < (size_t)lines_.size(); i++) {
std::string line;
line = lines_[i];
bool insideQuotes = false;
Expand Down

0 comments on commit b57c7f7

Please sign in to comment.