Fix warnings during bootstrap phase on macOS
This commit is contained in:
parent
4e64fb9f49
commit
7467c537a5
@ -51,7 +51,7 @@ strchrnul(const char *p, int ch)
|
||||
c = ch;
|
||||
for (;; ++p) {
|
||||
if (*p == c || *p == '\0')
|
||||
return ((char *)p);
|
||||
return (__DECONST(char *, p));
|
||||
}
|
||||
/* NOTREACHED */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user