Skip to content

Commit b57c7f7

Browse files
authoredJan 9, 2023
Merge pull request #1241 from RcppCore/feature/g++_warning
Address a warning from g++-12
2 parents 39669cb + d55c1ed commit b57c7f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/attributes.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ namespace attributes {
16211621
// Look for the signature termination ({ or ; not inside quotes)
16221622
// on this line and then subsequent lines if necessary
16231623
std::string signature;
1624-
for (size_t i = lineNumber; i<lines_.size(); i++) {
1624+
for (size_t i = lineNumber; i < (size_t)lines_.size(); i++) {
16251625
std::string line;
16261626
line = lines_[i];
16271627
bool insideQuotes = false;

0 commit comments

Comments
 (0)
Please sign in to comment.