Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
src: fix signed/unsigned comparison warning
Browse files Browse the repository at this point in the history
Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #25588
  • Loading branch information
bnoordhuis authored and Colin Ihrig committed Jun 29, 2015
1 parent 6f8400a commit 5fc4fb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ static Handle<Value> Umask(const Arguments& args) {
node::Utf8Value str(args[0]);

// Parse the octal string.
for (int i = 0; i < str.length(); i++) {
for (size_t i = 0; i < str.length(); i++) {
char c = (*str)[i];
if (c > '7' || c < '0') {
return ThrowException(Exception::TypeError(
Expand Down

0 comments on commit 5fc4fb1

Please sign in to comment.