Skip to content

Commit

Permalink
src: get rid of compiler warning
Browse files Browse the repository at this point in the history
Removed the following compiler warning from clang:

warning: adding 'int' to a string does not append to the string
[-Wstring-plus-int]
  • Loading branch information
trevnorris authored and bnoordhuis committed Apr 10, 2013
1 parent 8428b52 commit f83afd3
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 @@ -2377,7 +2377,7 @@ Handle<Object> SetupProcessObject(int argc, char *argv[]) {
}
}
versions->Set(String::NewSymbol("openssl"),
String::New(OPENSSL_VERSION_TEXT + i, j - i));
String::New(&OPENSSL_VERSION_TEXT[i], j - i));
#endif


Expand Down

0 comments on commit f83afd3

Please sign in to comment.