From 4db608dbbaa04ea359dfe8b4a2c2c40491e428a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herbert=20Voj=C4=8D=C3=ADk?= Date: Mon, 16 Aug 2010 23:15:00 +0200 Subject: [PATCH] Get away uint/int comparision warning. --- src/node_net.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_net.cc b/src/node_net.cc index 8d920c952..d4448aa1a 100644 --- a/src/node_net.cc +++ b/src/node_net.cc @@ -221,7 +221,7 @@ static inline Handle ParseAddressArgs(Handle 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")); }