aboutsummaryrefslogtreecommitdiffhomepage
path: root/wutil.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-06-23 10:56:50 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-06-23 10:59:53 +0530
commit5fb32f1e2d399844b3432fe4baa6183de0d65307 (patch)
tree7852be4986e00042980c7225563f166d87704a20 /wutil.cpp
parentf69489a4fcb549938597958311e40adfaa09d14c (diff)
Fixed declaration of wrealpath() function on FreeBSD
Diffstat (limited to 'wutil.cpp')
-rw-r--r--wutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wutil.cpp b/wutil.cpp
index 2e4d47cf..f8c0caa1 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];