mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Fix strpbrk
svn path=/trunk/; revision=15941
This commit is contained in:
parent
66c72376e1
commit
c2167ebb58
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue