core/systems/LibrarySys.cpp
changeset 2013 5cf82fea0177
parent 2012 bd0a140e2bff
child 2289 44045ead61cd
     1.1 --- a/core/systems/LibrarySys.cpp	Thu Apr 17 09:23:18 2008 +0000
     1.2 +++ b/core/systems/LibrarySys.cpp	Thu Apr 17 09:28:46 2008 +0000
     1.3 @@ -352,7 +352,7 @@
     1.4  
     1.5  const char *LibrarySystem::GetFileExtension(const char *filename)
     1.6  {
     1.7 -	size_t len, end, i;
     1.8 +	size_t len, end;
     1.9  
    1.10  	len = strlen(filename);
    1.11  
    1.12 @@ -364,7 +364,7 @@
    1.13  
    1.14  	end = len - 1;
    1.15  
    1.16 -	for (i = end; i <= end; i--)
    1.17 +	for (size_t i = end; i <= end; i--)
    1.18  	{
    1.19  		if (filename[i] == PLATFORM_SEP_CHAR || filename[i] == PLATFORM_SEP_ALTCHAR)
    1.20  		{