one more unsigned int -> size_t

This commit is contained in:
Andrzej Rybczak
2008-12-02 18:13:27 +01:00
parent 07c9fd6926
commit cbe267abec

View File

@@ -720,7 +720,7 @@ wstring ToWString(const string &s)
Coordinates Window::IntoCoordinates(const string &s) Coordinates Window::IntoCoordinates(const string &s)
{ {
Coordinates result; Coordinates result;
unsigned int sep = s.find(","); size_t sep = s.find(",");
if (sep != string::npos) if (sep != string::npos)
{ {
result.first = atoi(s.substr(2, sep-2).c_str()); result.first = atoi(s.substr(2, sep-2).c_str());