1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:27:35 +00:00

LibThread: Fix int to pointer conversion

This commit is contained in:
Jean-Baptiste Boric 2021-04-26 19:09:04 +02:00 committed by Linus Groh
parent 7d84f09e7e
commit 8d95bd8418
5 changed files with 9 additions and 9 deletions

View file

@ -84,7 +84,7 @@ Debug::DebugInfo::SourcePosition Debugger::create_source_position(const String&
return { LexicalPath::canonicalized_path(String::formatted("{}/{}", m_source_root, file)), line + 1 };
}
int Debugger::start_static()
intptr_t Debugger::start_static()
{
Debugger::the().start();
return 0;

View file

@ -43,7 +43,7 @@ public:
void stop();
// Thread entry point
static int start_static();
static intptr_t start_static();
pthread_mutex_t* continue_mutex() { return &m_ui_action_mutex; }
pthread_cond_t* continue_cond() { return &m_ui_action_cond; }