diff options
author | Trevor Norris <trev.norris@gmail.com> | 2013-04-09 16:17:34 -0700 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-04-10 23:51:17 +0200 |
commit | f83afd3c74865182bce62843fe23d28b4f876638 (patch) | |
tree | 86e5f765bccbaf72411d1ee87c239781d782e7cc | |
parent | 8428b52e25fca440aa54a017a0b446f21f27c79a (diff) | |
download | node-new-f83afd3c74865182bce62843fe23d28b4f876638.tar.gz |
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]
-rw-r--r-- | src/node.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.cc b/src/node.cc index dae39270bb..862221e5c3 100644 --- a/src/node.cc +++ b/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 |