diff options
Diffstat (limited to 'src/deptool.cpp')
| -rw-r--r-- | src/deptool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deptool.cpp b/src/deptool.cpp index ffb533981..45a01c4e7 100644 --- a/src/deptool.cpp +++ b/src/deptool.cpp @@ -497,7 +497,7 @@ void DepTool::parseName(const String &fullname, if (fullname.size() < 2) return; - unsigned int pos = fullname.find_last_of('/'); + String::size_type pos = fullname.find_last_of('/'); if (pos != fullname.npos && pos<fullname.size()-1) { path = fullname.substr(0, pos); @@ -529,7 +529,7 @@ String DepTool::getSuffix(const String &fname) { if (fname.size() < 2) return ""; - unsigned int pos = fname.find_last_of('.'); + String::size_type pos = fname.find_last_of('.'); if (pos == fname.npos) return ""; pos++; |
