mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Fix all current build warnings in the kernel.
This commit is contained in:
parent
e71cb1c56b
commit
47b7eeda44
10 changed files with 28 additions and 19 deletions
|
@ -30,7 +30,7 @@ char* strrchr(const char* str, int ch)
|
|||
char c;
|
||||
for (; (c = *str); ++str) {
|
||||
if (c == ch)
|
||||
last = (char*)str;
|
||||
last = const_cast<char*>(str);
|
||||
}
|
||||
return last;
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ int memcmp(const void* v1, const void* v2, size_t n)
|
|||
return 0;
|
||||
}
|
||||
|
||||
extern "C" void __cxa_pure_virtual() NORETURN;
|
||||
extern "C" void __cxa_pure_virtual()
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue