From 9dabd634f8c536171da5b32f57c6126755ac0db8 Mon Sep 17 00:00:00 2001 From: Fedor Indutny Date: Tue, 2 Sep 2014 15:37:45 +0400 Subject: [PATCH] linux: fix types --- src/platform-linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform-linux.cc b/src/platform-linux.cc index ae1209b..573cfef 100644 --- a/src/platform-linux.cc +++ b/src/platform-linux.cc @@ -50,7 +50,7 @@ void Hex2Bin(char* buf, unsigned int len) { } -static bool GetRoutesIPv4(Handle routes) { +static bool GetRoutesIPv4(Handle routes) { FILE* fp = fopen("/proc/net/route", "r"); if (fp == NULL) return false;