Browse Source

src: get rid of compiler warning

Removed the following compiler warning from clang:

warning: adding 'int' to a string does not append to the string
[-Wstring-plus-int]
v0.11.1-release
Trevor Norris 12 years ago
committed by Ben Noordhuis
parent
commit
f83afd3c74
  1. 2
      src/node.cc

2
src/node.cc

@ -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

Loading…
Cancel
Save