From 5fb32f1e2d399844b3432fe4baa6183de0d65307 Mon Sep 17 00:00:00 2001 From: Siteshwar Vashisht Date: Sat, 23 Jun 2012 10:56:50 +0530 Subject: [PATCH] Fixed declaration of wrealpath() function on FreeBSD --- wutil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wutil.cpp b/wutil.cpp index 2e4d47cf1..f8c0caa14 100644 --- a/wutil.cpp +++ b/wutil.cpp @@ -304,7 +304,7 @@ wchar_t *wrealpath(const wcstring &pathname, wchar_t *resolved_path) #else -wchar_t *wrealpath(const wchar_t *pathname, wchar_t *resolved_path) +wchar_t *wrealpath(const wcstring &pathname, wchar_t *resolved_path) { cstring tmp = wcs2string(pathname); char narrow_buff[PATH_MAX];