Fix strpbrk

svn path=/trunk/; revision=15941
This commit is contained in:
Alex Ionescu 2005-06-17 00:13:10 +00:00
parent 66c72376e1
commit c2167ebb58

View file

@ -44,7 +44,7 @@ char* strpbrk(const char *s1, const char *s2)
{ {
if (char_map[*str / BIT_SIZE] & (1 << (*str % BIT_SIZE))) if (char_map[*str / BIT_SIZE] & (1 << (*str % BIT_SIZE)))
{ {
return str; return (char*)str;
} }
str++; str++;
} }