mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-22 02:09:24 +00:00
LibThread: Fix int to pointer conversion
This commit is contained in:
parent
7d84f09e7e
commit
8d95bd8418
Notes:
sideshowbarker
2024-07-18 19:01:04 +09:00
Author: https://github.com/boricj
Commit: 8d95bd8418
Pull-request: https://github.com/SerenityOS/serenity/pull/6671
Reviewed-by: https://github.com/linusg
5 changed files with 9 additions and 9 deletions
|
@ -12,7 +12,7 @@
|
|||
static LibThread::Lockable<Queue<Function<void()>>>* s_all_actions;
|
||||
static LibThread::Thread* s_background_thread;
|
||||
|
||||
static int background_thread_func()
|
||||
static intptr_t background_thread_func()
|
||||
{
|
||||
while (true) {
|
||||
Function<void()> work_item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue