mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
LibHTML: Make it possible to build LibHTML on the host.
- "make" builds the normal Serenity libhtml.a - "make -f Makefile.host" builds a test program for the host machine.
This commit is contained in:
parent
04b2082e97
commit
7e1cb86da7
12 changed files with 101 additions and 56 deletions
|
@ -31,7 +31,7 @@ template<typename T>
|
|||
struct Traits<T*> {
|
||||
static unsigned hash(const T* p)
|
||||
{
|
||||
return int_hash((dword)p);
|
||||
return int_hash((unsigned)(__PTRDIFF_TYPE__)p);
|
||||
}
|
||||
static void dump(const T* p) { kprintf("%p", p); }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue