kernel/user_debugger: Don't try to cast an integer to a pointer.

Should fix the x86_64 build.
This commit is contained in:
Augustin Cavalier
2019-08-04 20:12:53 -04:00
parent 9dc67a1d96
commit 719cfad7fd
+2 -2
View File
@@ -2547,7 +2547,7 @@ install_team_debugger(team_id teamID, port_id debuggerPort,
// get the team
Team* team;
ConditionVariable debugChangeCondition;
debugChangeCondition.Init((void*)teamID, "debug change condition");
debugChangeCondition.Init(NULL, "debug change condition");
error = prepare_debugger_change(teamID, debugChangeCondition, team);
if (error != B_OK)
return error;
@@ -2874,7 +2874,7 @@ _user_remove_team_debugger(team_id teamID)
{
Team* team;
ConditionVariable debugChangeCondition;
debugChangeCondition.Init((void*)teamID, "debug change condition");
debugChangeCondition.Init(NULL, "debug change condition");
status_t error = prepare_debugger_change(teamID, debugChangeCondition,
team);
if (error != B_OK)