Skip to content

Commit

Permalink
linux: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Sep 2, 2014
1 parent 80ab8e0 commit 9dabd63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform-linux.cc
Expand Up @@ -50,7 +50,7 @@ void Hex2Bin(char* buf, unsigned int len) {
}


static bool GetRoutesIPv4(Handle<Value> routes) {
static bool GetRoutesIPv4(Handle<Array> routes) {
FILE* fp = fopen("/proc/net/route", "r");
if (fp == NULL) return false;

Expand Down

0 comments on commit 9dabd63

Please sign in to comment.