mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Get away uint/int comparision warning.
This commit is contained in:
1 parent
ae5d613b3e
commit
4db608dbba
1 file changed
+1
-1
+1
-1
@@ -221,7 +221,7 @@ static inline Handle<Value> ParseAddressArgs(Handle<Value> first,
|
||||
// UNIX
|
||||
String::Utf8Value path(first->ToString());
|
||||
|
||||
if (path.length() >= ARRAY_SIZE(un.sun_path)) {
|
||||
if ((size_t) path.length() >= ARRAY_SIZE(un.sun_path)) {
|
||||
return Exception::Error(String::New("Socket path too long"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user