int -> size_t
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 6 Aug 2007 21:10:10 +0000 (21:10 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 6 Aug 2007 21:10:10 +0000 (21:10 +0000)
lib/service/servicemp3.cpp

index bd92cf2..a38ad41 100644 (file)
@@ -496,7 +496,7 @@ RESULT eServiceMP3::info(ePtr<iServiceInformation>&i)
 RESULT eServiceMP3::getName(std::string &name)
 {
        name = m_filename;
-       int n = name.rfind('/');
+       size_t n = name.rfind('/');
        if (n != std::string::npos)
                name = name.substr(n + 1);
        return 0;