We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d787008 commit 85dec85Copy full SHA for 85dec85
libc/src/wchar/wcspbrk.cpp
@@ -14,7 +14,7 @@
14
namespace LIBC_NAMESPACE_DECL {
15
16
bool contains_char(const wchar_t *str, wchar_t target) {
17
- for (; *str != 0; str++)
+ for (; *str != L'\0'; str++)
18
if (*str == target)
19
return true;
20
0 commit comments