#1013 and #1015. Thank You, Thomas, for reporting these and for the fixes.

This commit is contained in:
Robin Mills
2015-01-02 09:17:56 +00:00
parent f2a247fb62
commit f2abf92fd7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -319,7 +319,7 @@ namespace Exiv2 {
#ifdef EXV_UNICODE_PATH
std::wstring pathOfFileUrl(const std::wstring& wurl) {
std::wstring path = wurl.substr(7);
int found = path.find('/');
size_t found = path.find('/');
if (found == std::wstring::npos) return path;
else return path.substr(found);
}