SHELL: fix strrchr warning

git-svn-id: svn://kolibrios.org@4001 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-10-10 06:58:53 +00:00
parent 8d5a98295f
commit 624a5c206a

View File

@ -125,16 +125,16 @@ char* strchr(const char* string, int c)
char* strrchr(const char* string, int c)
{
int last_found;
char* last_found;
while (*string)
{
if (*string==c)
{
last_found = string;
last_found = (char*)string;
}
string++;
}
return (char*)last_found;
return last_found;
}