From cafc0a767ff7852a805dfb3a08b6c7f712444c8f Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sun, 18 Mar 2007 18:39:13 +0000 Subject: fix 64-bit issues with width of npos -- patch #1675697 from mellum (Falk Hueffner) (bzr r2695) --- src/deptool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/deptool.cpp') 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