From d6a72ed8ba181dc35bd750811bf4a10a5583d472 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 10 Jul 2012 12:02:34 +0300 Subject: [PATCH] Fix a 64-bit compile error --- source/fs/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs/path.cpp b/source/fs/path.cpp index 703be2b..4db7f0c 100644 --- a/source/fs/path.cpp +++ b/source/fs/path.cpp @@ -39,7 +39,7 @@ void Path::init(const string &p) { string::size_type slash = p.find_first_of("/\\", start); if(slash>start || start==0) - add_component(p.substr(start, max(slash-start, 1U))); + add_component(p.substr(start, max(slash-start, 1U))); if(slash==string::npos) break; start = slash+1; -- 2.43.0