unsigned -> size_t for string::find returns

This commit is contained in:
Glenn Maynard
2004-06-16 07:03:25 +00:00
parent 47d43cee82
commit 85cbccad56
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ void ScreenTestSound::UpdateText(int n)
{
CString fn = s[n].s.GetLoadedFilePath();
unsigned x = fn.find_last_of("/\\");
size_t x = fn.find_last_of("/\\");
if(x != fn.npos) fn.erase(0, x+1);
vector<RageSound *> snds;