Get away uint/int comparision warning.

This commit is contained in:
Herbert Vojčík authored and Ryan Dahl committed 2010-08-16 15:17:17 -07:00
1 parent ae5d613b3e
commit 4db608dbba
1 file changed
+1 -1
+1 -1
View File
@@ -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"));
}